summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-04-03 09:35:36 +0000
committerbde <bde@FreeBSD.org>2001-04-03 09:35:36 +0000
commit0caa94f79f307d2647f24ec2adca3564bd5de914 (patch)
tree0775594ce09647d507239d0393f75fd90ffe3bd9 /sbin/newfs
parent626603131bb3fde0d341e4ca885bb1b3803bbab7 (diff)
downloadFreeBSD-src-0caa94f79f307d2647f24ec2adca3564bd5de914.zip
FreeBSD-src-0caa94f79f307d2647f24ec2adca3564bd5de914.tar.gz
Fixed style bugs in previous commit.
Diffstat (limited to 'sbin/newfs')
-rw-r--r--sbin/newfs/mkfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index daa5bae..8386c1a 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -254,9 +254,8 @@ mkfs(pp, fsys, fi, fo)
sblock.fs_inodefmt = FS_44INODEFMT;
sblock.fs_maxsymlinklen = MAXSYMLINKLEN;
}
- if (Uflag) {
+ if (Uflag)
sblock.fs_flags |= FS_DOSOFTDEP;
- }
/*
* Validate the given file system size.
* Verify that its last block can actually be accessed.
@@ -677,12 +676,13 @@ next:
fsys, sblock.fs_size * NSPF(&sblock), sblock.fs_ncyl,
"cylinders", sblock.fs_ntrak, sblock.fs_nsect);
#define B2MBFACTOR (1 / (1024.0 * 1024.0))
- printf("\t%.1fMB in %d cyl groups (%d c/g, %.2fMB/g, %d i/g)%s\n",
+ printf(
+ "\t%.1fMB in %d cyl groups (%d c/g, %.2fMB/g, %d i/g)%s\n",
(float)sblock.fs_size * sblock.fs_fsize * B2MBFACTOR,
sblock.fs_ncg, sblock.fs_cpg,
(float)sblock.fs_fpg * sblock.fs_fsize * B2MBFACTOR,
sblock.fs_ipg,
- sblock.fs_flags & FS_DOSOFTDEP ? " SOFTUPDATES" : "");
+ sblock.fs_flags & FS_DOSOFTDEP ? " SOFTUPDATES" : "");
#undef B2MBFACTOR
}
/*
OpenPOWER on IntegriCloud