diff options
author | markm <markm@FreeBSD.org> | 2002-07-03 16:38:04 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-07-03 16:38:04 +0000 |
commit | bd89ad1a0ae8ed0414a14b12913c3579c51e077b (patch) | |
tree | e7513032e0faacca364af48ce1c95fd15b259013 /sbin | |
parent | 837d0142a4a889014d6b9f91e7a690a16c1fdbbc (diff) | |
download | FreeBSD-src-bd89ad1a0ae8ed0414a14b12913c3579c51e077b.zip FreeBSD-src-bd89ad1a0ae8ed0414a14b12913c3579c51e077b.tar.gz |
Apply __FBSDID(), ISOfy, fix easy warning.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/clri/clri.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sbin/clri/clri.c b/sbin/clri/clri.c index 3a42177..a33726d 100644 --- a/sbin/clri/clri.c +++ b/sbin/clri/clri.c @@ -44,10 +44,11 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)clri.c 8.2 (Berkeley) 9/23/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/disklabel.h> @@ -74,9 +75,7 @@ usage(void) } int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { struct fs *sbp; struct ufs1_dinode *dp1; @@ -105,7 +104,7 @@ main(argc, argv) (sbp->fs_magic == FS_UFS2_MAGIC && sbp->fs_sblockloc == numfrags(sbp, sblock_try[i]))) && sbp->fs_bsize <= MAXBSIZE && - sbp->fs_bsize >= sizeof(struct fs)) + sbp->fs_bsize >= (int)sizeof(struct fs)) break; } if (sblock_try[i] == -1) { |