summaryrefslogtreecommitdiffstats
path: root/sbin/fsck/dir.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-28 19:23:03 +0000
committerbde <bde@FreeBSD.org>1998-06-28 19:23:03 +0000
commit4af99ce07c5d58e878672e174d267324e1983ba1 (patch)
treefd90e7633102600051bb5cb96340c16c4397670e /sbin/fsck/dir.c
parente11b471c4253d351c70535d329eedf4df4e8c8f2 (diff)
downloadFreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.zip
FreeBSD-src-4af99ce07c5d58e878672e174d267324e1983ba1.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sbin/fsck/dir.c')
-rw-r--r--sbin/fsck/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck/dir.c b/sbin/fsck/dir.c
index ac34c6f..7b22b17 100644
--- a/sbin/fsck/dir.c
+++ b/sbin/fsck/dir.c
@@ -36,7 +36,7 @@
static const char sccsid[] = "@(#)dir.c 8.8 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: dir.c,v 1.10 1998/06/15 07:07:10 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -493,7 +493,7 @@ linkup(orphan, parentdir)
lncntp[lfdir]++;
pwarn("DIR I=%lu CONNECTED. ", orphan);
if (parentdir != (ino_t)-1) {
- printf("PARENT WAS I=%lu\n", parentdir);
+ printf("PARENT WAS I=%lu\n", (u_long)parentdir);
/*
* The parent directory, because of the ordering
* guarantees, has had the link count incremented
OpenPOWER on IntegriCloud