summaryrefslogtreecommitdiff
path: root/ufs-utils
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
commit7fc7e4486118e475d1f1c5669dc1f3d3e0f64822 (patch)
tree5e58ec9e1b5968c01ad77e306d38abb582540f10 /ufs-utils
parentaf3191710e3f8f34945cc6dab845e0c4f6a98611 (diff)
(copyright, sccsid): Declare unused.
(main): Correct format for fourth arg.
Diffstat (limited to 'ufs-utils')
-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);
}