diff options
author | 2013-04-23 20:03:05 +0000 | |
---|---|---|
committer | 2013-04-23 20:03:05 +0000 | |
commit | 764d4aeceb0289dde970589db3f3674d4273fdd9 (patch) | |
tree | ba8e7f81ea9ad9ce71adb5d80a2e9f4f491f7bc6 | |
parent | simple repair for large ino_t (diff) | |
download | wireguard-openbsd-764d4aeceb0289dde970589db3f3674d4273fdd9.tar.xz wireguard-openbsd-764d4aeceb0289dde970589db3f3674d4273fdd9.zip |
simple large ino_t handling
-rw-r--r-- | usr.bin/kdump/kdump.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index af747b76250..863b0c9696d 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.79 2013/04/16 22:11:10 deraadt Exp $ */ +/* $OpenBSD: kdump.c,v 1.80 2013/04/23 20:03:05 deraadt Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -1378,8 +1378,9 @@ ktrstat(const struct stat *statp) */ printf("struct stat { "); strmode(statp->st_mode, mode); - printf("dev=%d, ino=%u, mode=%s, nlink=%u, ", - statp->st_dev, statp->st_ino, mode, statp->st_nlink); + printf("dev=%d, ino=%llu, mode=%s, nlink=%u, ", + statp->st_dev, (unsigned long long)statp->st_ino, + mode, statp->st_nlink); if (resolv == 0 || (pwd = getpwuid(statp->st_uid)) == NULL) printf("uid=%u, ", statp->st_uid); else |