mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
makefs(8): do not print comma after the last super-block
Reviewed by: markj, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39430
This commit is contained in:
parent
5f6d37787f
commit
f21faa67ab
1 changed files with 3 additions and 2 deletions
|
|
@ -529,8 +529,9 @@ ffs_mkfs(const char *fsys, const fsinfo_t *fsopts, time_t tstamp)
|
|||
initcg(cylno, tstamp, fsopts);
|
||||
if (cylno % nprintcols == 0)
|
||||
printf("\n");
|
||||
printf(" %*lld,", printcolwidth,
|
||||
(long long)fsbtodb(&sblock, cgsblock(&sblock, cylno)));
|
||||
printf(" %*lld%s", printcolwidth,
|
||||
(long long)fsbtodb(&sblock, cgsblock(&sblock, cylno)),
|
||||
cylno == sblock.fs_ncg - 1 ? "" : ",");
|
||||
fflush(stdout);
|
||||
}
|
||||
printf("\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue