summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:43:19 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:43:19 +0000
commit5a07075504a4066427dae6984d19f81c859a681e (patch)
tree6dab5755b107f9a2954ab0293a2a977d109e4231
parent552d7e14ae5c9529c12ebb62aa22a045869b5313 (diff)
2002-06-08 Roland McGrath <roland@frob.com>
* mkfs.c (iput): Use %Ld format for ino_t values.
-rw-r--r--ufs-utils/mkfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c
index 6d544949..f423f003 100644
--- a/ufs-utils/mkfs.c
+++ b/ufs-utils/mkfs.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/
-static char *rcsid = "$Id: mkfs.c,v 1.20 2001/12/02 22:06:54 roland Exp $";
+static char *rcsid = "$Id: mkfs.c,v 1.21 2002/06/11 21:43:19 roland Exp $";
#endif /* not lint */
#include <unistd.h>
@@ -1279,7 +1279,7 @@ iput(ip, ino)
sblock.fs_cstotal.cs_nifree--;
fscs[0].cs_nifree--;
if (ino >= sblock.fs_ipg * sblock.fs_ncg)
- deverr (32, 0, "fsinit: inode value out of range (%d)", ino);
+ deverr (32, 0, "fsinit: inode value out of range (%Ld)", ino);
d = fsbtodb(&sblock, ino_to_fsba(&sblock, ino));
rdfs(d, sblock.fs_bsize, buf);
buf[ino_to_fsbo(&sblock, ino)] = *ip;