diff options
author | deraadt <deraadt@openbsd.org> | 2013-04-23 18:17:22 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2013-04-23 18:17:22 +0000 |
commit | 79d31f919c0b32330cb4199929abae8560bb0b7d (patch) | |
tree | 68032396cec8a3d9d4c546a27b537a943b8b3921 /usr.sbin/quot | |
parent | handle large ino_t; ok millert (diff) | |
download | wireguard-openbsd-79d31f919c0b32330cb4199929abae8560bb0b7d.tar.xz wireguard-openbsd-79d31f919c0b32330cb4199929abae8560bb0b7d.zip |
handle large ino_t
Diffstat (limited to 'usr.sbin/quot')
-rw-r--r-- | usr.sbin/quot/quot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c index a9044ff8bbe..bf05e19155d 100644 --- a/usr.sbin/quot/quot.c +++ b/usr.sbin/quot/quot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quot.c,v 1.20 2009/10/27 23:59:54 deraadt Exp $ */ +/* $OpenBSD: quot.c,v 1.21 2013/04/23 18:18:59 deraadt Exp $ */ /* * Copyright (C) 1991, 1994 Wolfgang Solfrank. @@ -469,7 +469,8 @@ donames(int fd, struct fs *super, char *name) while (scanf("%d", &inode) == 1) { if (inode < 0 || inode > maxino) { #ifndef COMPAT - fprintf(stderr, "invalid inode %d\n", inode); + fprintf(stderr, "invalid inode %llu\n", + (unsigned long long)inode); #endif return; } |