summaryrefslogtreecommitdiff
path: root/ufs-utils/clri.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-07 02:58:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-07 02:58:15 +0000
commit33bece8779ef23a807381928535957cd96c48d70 (patch)
tree69d88af4695c77dd5d1121c1261fb673fae7c368 /ufs-utils/clri.c
parenta0de102fbdf454a7b1db676c2cbef1eba0ba92c3 (diff)
(copyright, sccsid): Declare unused.
(main): Correct format for fourth arg.
Diffstat (limited to 'ufs-utils/clri.c')
-rw-r--r--ufs-utils/clri.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ufs-utils/clri.c b/ufs-utils/clri.c
index 203073e2..eb58ffe2 100644
--- a/ufs-utils/clri.c
+++ b/ufs-utils/clri.c
@@ -37,11 +37,13 @@
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1990, 1993\n\
- The Regents of the University of California. All rights reserved.\n";
+ The Regents of the University of California. All rights reserved.\n"
+__attribute__ ((unused));
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)clri.c 8.2 (Berkeley) 9/23/93";
+static char sccsid[] = "@(#)clri.c 8.2 (Berkeley) 9/23/93"
+__attribute__ ((unused));
#endif /* not lint */
/* Modified by Michael I. Bushnell for GNU Hurd. */
@@ -106,7 +108,7 @@ main(argc, argv)
sbp = (struct fs *)sblock;
if (sbp->fs_magic != FS_MAGIC) {
(void)fprintf(stderr,
- "clri: %s: superblock magic number 0x%x, not 0x%x.\n",
+ "clri: %s: superblock magic number 0x%lux, not 0x%x.\n",
fs, sbp->fs_magic, FS_MAGIC);
exit(1);
}