From bd89ad1a0ae8ed0414a14b12913c3579c51e077b Mon Sep 17 00:00:00 2001 From: markm Date: Wed, 3 Jul 2002 16:38:04 +0000 Subject: [PATCH] Apply __FBSDID(), ISOfy, fix easy warning. --- sbin/clri/clri.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sbin/clri/clri.c b/sbin/clri/clri.c index 3a42177e95cd..a33726d5cd05 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 +__FBSDID("$FreeBSD$"); + #include #include @@ -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) {