From: Chris Torek Date: Sat, 10 Apr 1993 15:24:38 +0000 (-0800) Subject: off_t's are quad, use %qd not %ld X-Git-Tag: BSD-4_4-Snapshot-Development~2301 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/21684c3199b0c21a58e412e58f36daffccb455ac off_t's are quad, use %qd not %ld SCCS-vsn: usr.bin/ar/contents.c 5.7 --- diff --git a/usr/src/usr.bin/ar/contents.c b/usr/src/usr.bin/ar/contents.c index cd5519bc00..3e8f81a33f 100644 --- a/usr/src/usr.bin/ar/contents.c +++ b/usr/src/usr.bin/ar/contents.c @@ -9,7 +9,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)contents.c 5.6 (Berkeley) %G%"; +static char sccsid[] = "@(#)contents.c 5.7 (Berkeley) %G%"; #endif /* not lint */ #include @@ -49,7 +49,7 @@ contents(argv) goto next; if (options & AR_V) { (void)strmode(chdr.mode, buf); - (void)printf("%s %6d/%-6d %8ld ", + (void)printf("%s %6d/%-6d %8qd ", buf + 1, chdr.uid, chdr.gid, chdr.size); tp = localtime(&chdr.date); (void)strftime(buf, sizeof(buf), "%b %e %H:%M %Y", tp);