summaryrefslogtreecommitdiff
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-01-10 20:16:16 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-01-10 20:16:16 +0000
commit8258916f074dcdba2dedd55ba5372187bd3c3a6b (patch)
tree691f8285cc976fbbff110264d52fc98fb79d73e0 /bin/ls/print.c
parentf065452f6b7d700851166c1da45452cb90d7f1b1 (diff)
Remove unneccesary cast to long long and %llu format; print using %lu.
Spotted by tom@, ok millert@
Diffstat (limited to 'bin/ls/print.c')
-rw-r--r--bin/ls/print.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index 4f548df3acf..40ca68b4098 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.22 2003/09/26 00:48:44 deraadt Exp $ */
+/* $OpenBSD: print.c,v 1.23 2005/01/10 20:16:15 otto Exp $ */
/* $NetBSD: print.c,v 1.15 1996/12/11 03:25:39 thorpej Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.5 (Berkeley) 7/28/94";
#else
-static char rcsid[] = "$OpenBSD: print.c,v 1.22 2003/09/26 00:48:44 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: print.c,v 1.23 2005/01/10 20:16:15 otto Exp $";
#endif
#endif /* not lint */
@@ -273,8 +273,7 @@ printacol(DISPLAY *dp)
return;
if (dp->list->fts_level != FTS_ROOTLEVEL && (f_longform || f_size))
- (void)printf("total %llu\n",
- (long long)(howmany(dp->btotal, blocksize)));
+ (void)printf("total %lu\n", howmany(dp->btotal, blocksize));
col = 0;
for (p = dp->list; p; p = p->fts_link) {
if (IS_NOPRINT(p))