diff options
author | jb <jb@FreeBSD.org> | 1998-05-13 06:52:08 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-13 06:52:08 +0000 |
commit | d6619f7b2b75bcaa7167ab2cf8c55bcb33998245 (patch) | |
tree | 2990a56b4a204fbcba9bbdafd395e5bd1f3f085d /usr.sbin/lpr | |
parent | 12412f8127b81e3b72d4716eeb0f80e6e4873993 (diff) | |
download | FreeBSD-src-d6619f7b2b75bcaa7167ab2cf8c55bcb33998245.zip FreeBSD-src-d6619f7b2b75bcaa7167ab2cf8c55bcb33998245.tar.gz |
The printf type checking in gcc wants %qd to be a long long, so add
a cast in case off_t is not a long long (as on alpha).
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/common_source/displayq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/displayq.c b/usr.sbin/lpr/common_source/displayq.c index 3f0ad42..37ee980 100644 --- a/usr.sbin/lpr/common_source/displayq.c +++ b/usr.sbin/lpr/common_source/displayq.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95"; */ static const char rcsid[] = - "$Id$"; + "$Id: displayq.c,v 1.13 1997/12/02 20:45:19 wollman Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -447,7 +447,7 @@ ldump(nfile, file, copies) else printf("%-32s", nfile); if (*file && !stat(file, &lbuf)) - printf(" %qd bytes", lbuf.st_size); + printf(" %qd bytes", (long long) lbuf.st_size); else printf(" ??? bytes"); putchar('\n'); |