From ea7e77b64412ae25923d7392d05811f773c7eb71 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 4 May 2008 02:28:28 +0000 Subject: [PATCH] Print the 64 bit inode as a 64 bit quantity rather then a 32 bit quantity. --- bin/ls/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ls/print.c b/bin/ls/print.c index 283845565e..d9c4ad2721 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -31,7 +31,7 @@ * * @(#)print.c 8.4 (Berkeley) 4/17/94 * $FreeBSD: src/bin/ls/print.c,v 1.73 2004/06/08 09:27:42 das Exp $ - * $DragonFly: src/bin/ls/print.c,v 1.18 2007/05/21 01:40:01 dillon Exp $ + * $DragonFly: src/bin/ls/print.c,v 1.19 2008/05/04 02:28:28 dillon Exp $ */ #include @@ -144,7 +144,7 @@ printlong(const DISPLAY *dp) continue; sp = p->fts_statp; if (f_inode) - printf("%*lu ", dp->s_inode, (u_long)sp->st_ino); + printf("%*llu ", dp->s_inode, (unsigned long long)sp->st_ino); if (f_size) printf("%*lld ", dp->s_block, howmany(sp->st_blocks, blocksize)); -- 2.41.0