From f15d49117538b8a244188d1e7698fce2ce112cbb Mon Sep 17 00:00:00 2001 From: hannken Date: Thu, 22 Apr 2004 10:17:00 +0000 Subject: [PATCH] Use PRIu64 to printf uint64_t. Compiles again on sparc64. --- sbin/mount/mount.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 4f464c1ec009..5af61af419a1 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1989, 1993, 1994\n\ #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 @@ prmount(sfp) } 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];