diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-23 17:29:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-23 17:29:27 +0000 |
commit | 1349b37f12be6d4c001fbd32256063acb76e4500 (patch) | |
tree | e7794e8b6443c8cd822a4d27db16e7c85c548715 /sbin/clri | |
parent | 994462ac40a3ec66ee8cebf67e4775444c93a953 (diff) |
handle big ino_t
ok otto
Diffstat (limited to 'sbin/clri')
-rw-r--r-- | sbin/clri/clri.c | 4 |
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 */ |