svn commit: r315271 - head/usr.sbin/makefs/ffs
Ed Maste
emaste at FreeBSD.org
Tue Mar 14 16:40:20 UTC 2017
Author: emaste
Date: Tue Mar 14 16:40:18 2017
New Revision: 315271
URL: https://svnweb.freebsd.org/changeset/base/315271
Log:
makefs: remove unused variable
NetBSD revisions:
mkfs.c 1.32
Obtained from: NetBSD
Modified:
head/usr.sbin/makefs/ffs/mkfs.c
Modified: head/usr.sbin/makefs/ffs/mkfs.c
==============================================================================
--- head/usr.sbin/makefs/ffs/mkfs.c Tue Mar 14 16:06:57 2017 (r315270)
+++ head/usr.sbin/makefs/ffs/mkfs.c Tue Mar 14 16:40:18 2017 (r315271)
@@ -119,7 +119,7 @@ ffs_mkfs(const char *fsys, const fsinfo_
int32_t cylno, i, csfrags;
long long sizepb;
void *space;
- int size, blks;
+ int size;
int nprintcols, printcolwidth;
ffs_opt_t *ffs_opts = fsopts->fs_specific;
@@ -400,7 +400,6 @@ ffs_mkfs(const char *fsys, const fsinfo_
* Cribbed from ffs_mountfs().
*/
size = sblock.fs_cssize;
- blks = howmany(size, sblock.fs_fsize);
if (sblock.fs_contigsumsize > 0)
size += sblock.fs_ncg * sizeof(int32_t);
if ((space = (char *)calloc(1, size)) == NULL)
More information about the svn-src-all
mailing list