diff options
author | bde <bde@FreeBSD.org> | 1995-04-02 14:52:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-04-02 14:52:29 +0000 |
commit | 2742dc81e0a2c14dd7868eadfd72be0636515932 (patch) | |
tree | a0243afdfb4ae252da5d603fe6aa2b611c3539bf /sbin/fsck/pass5.c | |
parent | 41cee792f999955527ef484e1a2892ffacd9541e (diff) | |
download | FreeBSD-src-2742dc81e0a2c14dd7868eadfd72be0636515932.zip FreeBSD-src-2742dc81e0a2c14dd7868eadfd72be0636515932.tar.gz |
Submitted by: phk, added to by bde
Fix all the warnings from `gcc -Wall'.
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; |