Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/puffs As is evidenced by several of our 32-bit MIPS p...



details:   https://anonhg.NetBSD.org/src/rev/38fc905212b5
branches:  trunk
changeset: 332744:38fc905212b5
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 07 11:37:06 2014 +0000

description:
As is evidenced by several of our 32-bit MIPS ports, it's wrong to
print vsize_t with PRIx64 -- instead use our own PRIxVSIZE macro.

diffstat:

 sys/fs/puffs/puffs_vnops.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 4c148b356f71 -r 38fc905212b5 sys/fs/puffs/puffs_vnops.c
--- a/sys/fs/puffs/puffs_vnops.c        Tue Oct 07 09:36:09 2014 +0000
+++ b/sys/fs/puffs/puffs_vnops.c        Tue Oct 07 11:37:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_vnops.c,v 1.192 2014/10/06 14:26:44 he Exp $     */
+/*     $NetBSD: puffs_vnops.c,v 1.193 2014/10/07 11:37:06 he Exp $     */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.192 2014/10/06 14:26:44 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.193 2014/10/07 11:37:06 he Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -1160,8 +1160,8 @@
        error = ubc_uiomove(&vp->v_uobj, &uio, len,
                            UVM_ADV_SEQUENTIAL, UBC_WRITE|UBC_UNMAP_FLAG(vp));
        if (error) {
-               DPRINTF(("zero-fill 0x%lx@0x%" PRIx64 " failed: error = %d\n",
-                        len, off, error));
+               DPRINTF(("zero-fill 0x%lx@0x%" PRIxVSIZE 
+                        " failed: error = %d\n", len, off, error));
        }
 
        return;



Home | Main Index | Thread Index | Old Index