diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-04-15 15:15:16 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2012-04-15 15:15:16 +0000 |
commit | f979d8ac99df80386ced75f5996313d4e59ee8dd (patch) | |
tree | ac9e28fb1fd27869bdbe3402a8bc3be16765eafd /sbin/growfs/growfs.c | |
parent | 3aa4b42ae7d1a8b002ec34a8a4c8a041ab2861ca (diff) | |
download | src-f979d8ac99df80386ced75f5996313d4e59ee8dd.tar.gz src-f979d8ac99df80386ced75f5996313d4e59ee8dd.zip |
Style.
Notes
Notes:
svn path=/head/; revision=234314
Diffstat (limited to 'sbin/growfs/growfs.c')
-rw-r--r-- | sbin/growfs/growfs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index f82f434ea2ce..15defe981a2a 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -130,7 +130,7 @@ growfs(int fsi, int fso, unsigned int Nflag) uint cylno; int i, j, width; char tmpbuf[100]; - static int randinit=0; + static int randinit = 0; DBG_ENTER; @@ -177,7 +177,7 @@ growfs(int fsi, int fso, unsigned int Nflag) /* * Dump out summary information about file system. */ -# define B2MBFACTOR (1 / (1024.0 * 1024.0)) +#define B2MBFACTOR (1 / (1024.0 * 1024.0)) printf("growfs: %.1fMB (%jd sectors) block size %d, fragment size %d\n", (float)sblock.fs_size * sblock.fs_fsize * B2MBFACTOR, (intmax_t)fsbtodb(&sblock, sblock.fs_size), sblock.fs_bsize, @@ -187,7 +187,7 @@ growfs(int fsi, int fso, unsigned int Nflag) sblock.fs_fpg / sblock.fs_frag, sblock.fs_ipg); if (sblock.fs_flags & FS_DOSOFTDEP) printf("\twith soft updates\n"); -# undef B2MBFACTOR +#undef B2MBFACTOR /* * Now build the cylinders group blocks and @@ -499,7 +499,7 @@ frag_adjust(ufs2_daddr_t frag, int sign) DBG_ENTER; - fragsize=0; + fragsize = 0; /* * Here frag only needs to point to any fragment in the block we want * to examine. @@ -579,7 +579,7 @@ updjcg(int cylno, time_t modtime, int fsi, int fso, unsigned int Nflag) if (cgbase(&osblock, cylno + 1) == osblock.fs_size) { if (sblock.fs_magic == FS_UFS1_MAGIC) - acg.cg_old_ncyl=sblock.fs_old_cpg; + acg.cg_old_ncyl = sblock.fs_old_cpg; wtfs(fsbtodb(&sblock, cgtod(&sblock, cylno)), (size_t)sblock.fs_cgsize, (void *)&acg, fso, Nflag); |