summaryrefslogtreecommitdiff
path: root/sbin/clri
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-23 17:29:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-04-23 17:29:27 +0000
commit1349b37f12be6d4c001fbd32256063acb76e4500 (patch)
treee7794e8b6443c8cd822a4d27db16e7c85c548715 /sbin/clri
parent994462ac40a3ec66ee8cebf67e4775444c93a953 (diff)
handle big ino_t
ok otto
Diffstat (limited to 'sbin/clri')
-rw-r--r--sbin/clri/clri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/clri/clri.c b/sbin/clri/clri.c
index 77237015ffb..22bd20a5aab 100644
--- a/sbin/clri/clri.c
+++ b/sbin/clri/clri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clri.c,v 1.12 2009/10/27 23:59:32 deraadt Exp $ */
+/* $OpenBSD: clri.c,v 1.13 2013/04/23 17:29:26 deraadt Exp $ */
/* $NetBSD: clri.c,v 1.19 2005/01/20 15:50:47 xtraeme Exp $ */
/*
@@ -113,7 +113,7 @@ main(int argc, char *argv[])
while (*++argv) {
/* get the inode number. */
inonum = atoi(*argv);
- (void)printf("clearing %d\n", inonum);
+ (void)printf("clearing %llu\n", (unsigned long long)inonum);
/* read in the appropriate block. */
offset = ino_to_fsba(sbp, inonum); /* inode to fs blk */