Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount Use PRIu64 to printf uint64_t. Compiles again on ...
details: https://anonhg.NetBSD.org/src/rev/38a8ade6f229
branches: trunk
changeset: 565875:38a8ade6f229
user: hannken <hannken%NetBSD.org@localhost>
date: Thu Apr 22 10:17:00 2004 +0000
description:
Use PRIu64 to printf uint64_t. Compiles again on sparc64.
diffstat:
sbin/mount/mount.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r b7349d821bfd -r 38a8ade6f229 sbin/mount/mount.c
--- a/sbin/mount/mount.c Thu Apr 22 10:14:58 2004 +0000
+++ b/sbin/mount/mount.c Thu Apr 22 10:17:00 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.c,v 1.69 2004/04/21 01:05:33 christos Exp $ */
+/* $NetBSD: mount.c,v 1.70 2004/04/22 10:17:00 hannken Exp $ */
/*
* Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
#else
-__RCSID("$NetBSD: mount.c,v 1.69 2004/04/21 01:05:33 christos Exp $");
+__RCSID("$NetBSD: mount.c,v 1.70 2004/04/22 10:17:00 hannken Exp $");
#endif
#endif /* not lint */
@@ -540,9 +540,9 @@
}
if (verbose) {
(void)printf("%s", !f++ ? " (" : ", ");
- (void)printf("reads: sync %llu async %llu",
+ (void)printf("reads: sync %" PRIu64 " async %" PRIu64 "",
sfp->f_syncreads, sfp->f_asyncreads);
- (void)printf(", writes: sync %llu async %llu",
+ (void)printf(", writes: sync %" PRIu64 " async %" PRIu64 "",
sfp->f_syncwrites, sfp->f_asyncwrites);
if (verbose > 1) {
char buf[2048];
Home |
Main Index |
Thread Index |
Old Index