diff options
author | mdf <mdf@FreeBSD.org> | 2012-09-27 23:31:19 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2012-09-27 23:31:19 +0000 |
commit | a782f0b8bd315c02033a4fb363e550bd467101c7 (patch) | |
tree | 8a4bdcc7b13b351076583f8136d9f3cd310718b6 /usr.bin/find/ls.c | |
parent | 8ce8b3ae17aae9323001285d2530d9b793f3c36d (diff) | |
download | FreeBSD-src-a782f0b8bd315c02033a4fb363e550bd467101c7.zip FreeBSD-src-a782f0b8bd315c02033a4fb363e550bd467101c7.tar.gz |
Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t.
Original code by: Gleb Kurtsou
Diffstat (limited to 'usr.bin/find/ls.c')
-rw-r--r-- | usr.bin/find/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c index 44d1852..082fd64 100644 --- a/usr.bin/find/ls.c +++ b/usr.bin/find/ls.c @@ -63,7 +63,7 @@ printlong(char *name, char *accpath, struct stat *sb) { char modep[15]; - (void)printf("%6lu %8"PRId64" ", (u_long) sb->st_ino, sb->st_blocks); + (void)printf("%6ju %8"PRId64" ", (uintmax_t)sb->st_ino, sb->st_blocks); (void)strmode(sb->st_mode, modep); (void)printf("%s %3u %-*s %-*s ", modep, sb->st_nlink, MAXLOGNAME - 1, user_from_uid(sb->st_uid, 0), MAXLOGNAME - 1, |