summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1997-08-31 01:27:04 +0000
committeralex <alex@FreeBSD.org>1997-08-31 01:27:04 +0000
commita84f23470623bd54c6c0c8deaffb4ce823f47b30 (patch)
tree265eae2648f5b664dcbe22edaee04aa1ed8822a9 /usr.bin
parent39f822f3ed5f484665873edc12f4db6eab74191c (diff)
downloadFreeBSD-src-a84f23470623bd54c6c0c8deaffb4ce823f47b30.zip
FreeBSD-src-a84f23470623bd54c6c0c8deaffb4ce823f47b30.tar.gz
Display file size as an unsigned long.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/fstat/fstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index d80809e..d8244bf 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#endif
static const char rcsid[] =
- "$Id: fstat.c,v 1.11 1997/07/08 11:02:48 charnier Exp $";
+ "$Id: fstat.c,v 1.12 1997/07/10 06:41:33 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -460,7 +460,7 @@ vtrans(vp, i, flag)
break;
}
default:
- printf(" %6d", fst.size);
+ printf(" %6lu", fst.size);
}
rw[0] = '\0';
if (flag & FREAD)
OpenPOWER on IntegriCloud