aboutsummaryrefslogtreecommitdiff
path: root/sbin/clri
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-07-03 16:38:04 +0000
committerMark Murray <markm@FreeBSD.org>2002-07-03 16:38:04 +0000
commit06e8d9547cb5526b20f434700c271c93ec6fd12b (patch)
treee7513032e0faacca364af48ce1c95fd15b259013 /sbin/clri
parent7ede89e44b46d0768ec0a84daf6deba25732d8e9 (diff)
downloadsrc-06e8d9547cb5526b20f434700c271c93ec6fd12b.tar.gz
src-06e8d9547cb5526b20f434700c271c93ec6fd12b.zip
Apply __FBSDID(), ISOfy, fix easy warning.
Notes
Notes: svn path=/head/; revision=99364
Diffstat (limited to 'sbin/clri')
-rw-r--r--sbin/clri/clri.c11
1 files 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 <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) {