Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3-0]: src/sys/kern Pull up following revision(s) (requested by jl...



details:   https://anonhg.NetBSD.org/src/rev/4af140ed3c21
branches:  netbsd-3-0
changeset: 579293:4af140ed3c21
user:      ghen <ghen%NetBSD.org@localhost>
date:      Wed Sep 06 19:09:47 2006 +0000

description:
Pull up following revision(s) (requested by jld in ticket #1493):
        sys/kern/vfs_subr.c: revision 1.269
Add %'s to go with PRI format constants.

diffstat:

 sys/kern/vfs_subr.c |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (58 lines):

diff -r c47db4d27696 -r 4af140ed3c21 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Wed Sep 06 06:56:03 2006 +0000
+++ b/sys/kern/vfs_subr.c       Wed Sep 06 19:09:47 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.243.2.4 2005/08/24 18:43:38 riz Exp $   */
+/*     $NetBSD: vfs_subr.c,v 1.243.2.4.2.1 2006/09/06 19:09:47 ghen Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998, 2004, 2005 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.243.2.4 2005/08/24 18:43:38 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.243.2.4.2.1 2006/09/06 19:09:47 ghen Exp $");
 
 #include "opt_inet.h"
 #include "opt_ddb.h"
@@ -3224,15 +3224,15 @@
        (*pr)("\tfrsize = %lu\n",mp->mnt_stat.f_frsize);
        (*pr)("\tiosize = %lu\n",mp->mnt_stat.f_iosize);
 
-       (*pr)("\tblocks = "PRIu64"\n",mp->mnt_stat.f_blocks);
-       (*pr)("\tbfree = "PRIu64"\n",mp->mnt_stat.f_bfree);
-       (*pr)("\tbavail = "PRIu64"\n",mp->mnt_stat.f_bavail);
-       (*pr)("\tbresvd = "PRIu64"\n",mp->mnt_stat.f_bresvd);
-
-       (*pr)("\tfiles = "PRIu64"\n",mp->mnt_stat.f_files);
-       (*pr)("\tffree = "PRIu64"\n",mp->mnt_stat.f_ffree);
-       (*pr)("\tfavail = "PRIu64"\n",mp->mnt_stat.f_favail);
-       (*pr)("\tfresvd = "PRIu64"\n",mp->mnt_stat.f_fresvd);
+       (*pr)("\tblocks = %"PRIu64"\n",mp->mnt_stat.f_blocks);
+       (*pr)("\tbfree = %"PRIu64"\n",mp->mnt_stat.f_bfree);
+       (*pr)("\tbavail = %"PRIu64"\n",mp->mnt_stat.f_bavail);
+       (*pr)("\tbresvd = %"PRIu64"\n",mp->mnt_stat.f_bresvd);
+
+       (*pr)("\tfiles = %"PRIu64"\n",mp->mnt_stat.f_files);
+       (*pr)("\tffree = %"PRIu64"\n",mp->mnt_stat.f_ffree);
+       (*pr)("\tfavail = %"PRIu64"\n",mp->mnt_stat.f_favail);
+       (*pr)("\tfresvd = %"PRIu64"\n",mp->mnt_stat.f_fresvd);
 
        (*pr)("\tf_fsidx = { 0x%"PRIx32", 0x%"PRIx32" }\n",
                        mp->mnt_stat.f_fsidx.__fsid_val[0],
@@ -3244,10 +3244,10 @@
        bitmask_snprintf(mp->mnt_stat.f_flag, __MNT_FLAG_BITS, sbuf,
            sizeof(sbuf));
        (*pr)("\tflag = %s\n",sbuf);
-       (*pr)("\tsyncwrites = " PRIu64 "\n",mp->mnt_stat.f_syncwrites);
-       (*pr)("\tasyncwrites = " PRIu64 "\n",mp->mnt_stat.f_asyncwrites);
-       (*pr)("\tsyncreads = " PRIu64 "\n",mp->mnt_stat.f_syncreads);
-       (*pr)("\tasyncreads = " PRIu64 "\n",mp->mnt_stat.f_asyncreads);
+       (*pr)("\tsyncwrites = %" PRIu64 "\n",mp->mnt_stat.f_syncwrites);
+       (*pr)("\tasyncwrites = %" PRIu64 "\n",mp->mnt_stat.f_asyncwrites);
+       (*pr)("\tsyncreads = %" PRIu64 "\n",mp->mnt_stat.f_syncreads);
+       (*pr)("\tasyncreads = %" PRIu64 "\n",mp->mnt_stat.f_asyncreads);
        (*pr)("\tfstypename = %s\n",mp->mnt_stat.f_fstypename);
        (*pr)("\tmntonname = %s\n",mp->mnt_stat.f_mntonname);
        (*pr)("\tmntfromname = %s\n",mp->mnt_stat.f_mntfromname);



Home | Main Index | Thread Index | Old Index