diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-11-17 23:48:21 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-11-17 23:48:21 +0000 |
commit | a0dc2079d2250dceca0b5ca75daa78b05554a474 (patch) | |
tree | 56abbf1dd0c6a1ca1e2e07f6e517262106e893df /sbin/fsck_ffs/utilities.c | |
parent | 43a07b3eb5824c0153abcabaa9195186756dda01 (diff) | |
download | FreeBSD-src-a0dc2079d2250dceca0b5ca75daa78b05554a474.zip FreeBSD-src-a0dc2079d2250dceca0b5ca75daa78b05554a474.tar.gz |
Fix a large number of -Wall, -Wformat and -W compiler warnings.
These were mainly missing casts or wrong format strings in printf
statements, but there were also missing includes, unused variables,
functions and arguments.
The choice of `long' vs `int' still seems almost random in a lot
of places though.
Diffstat (limited to 'sbin/fsck_ffs/utilities.c')
-rw-r--r-- | sbin/fsck_ffs/utilities.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c index e584c8f..2d7b23f 100644 --- a/sbin/fsck_ffs/utilities.c +++ b/sbin/fsck_ffs/utilities.c @@ -64,8 +64,8 @@ char * blockcheck(origname) char *origname; { - struct stat stslash, stblock, stchar; - char *newname, *raw, *cp; + struct stat stblock; + char *newname, *cp; struct fstab *fsinfo; int retried = 0, len; static char device[MAXPATHLEN]; |