diff options
Diffstat (limited to 'sbin/fsck/pass5.c')
-rw-r--r-- | sbin/fsck/pass5.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fsck/pass5.c b/sbin/fsck/pass5.c index 7e8b2ef..7972468 100644 --- a/sbin/fsck/pass5.c +++ b/sbin/fsck/pass5.c @@ -32,19 +32,21 @@ */ #ifndef lint -static char sccsid[] = "@(#)pass5.c 8.2 (Berkeley) 2/2/94"; +static const char sccsid[] = "@(#)pass5.c 8.2 (Berkeley) 2/2/94"; #endif /* not lint */ #include <sys/param.h> #include <sys/time.h> #include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> +#include <stdio.h> #include <string.h> #include "fsck.h" +void pass5() { - int c, blk, frags, basesize, sumsize, mapsize, savednrpos; + int c, blk, frags, basesize, sumsize, mapsize, savednrpos = 0; register struct fs *fs = &sblock; register struct cg *cg = &cgrp; daddr_t dbase, dmax; |