Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/fs/puffs Pull up revisions 1.192-1.194: fix debug pri...
details: https://anonhg.NetBSD.org/src/rev/edf43f63a3e7
branches: netbsd-7
changeset: 798430:edf43f63a3e7
user: martin <martin%NetBSD.org@localhost>
date: Tue Oct 14 08:16:03 2014 +0000
description:
Pull up revisions 1.192-1.194: fix debug printf formatting and make
it compile without debugging enabled.
diffstat:
sys/fs/puffs/puffs_vnops.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 5ca3108d40a6 -r edf43f63a3e7 sys/fs/puffs/puffs_vnops.c
--- a/sys/fs/puffs/puffs_vnops.c Tue Oct 14 07:38:44 2014 +0000
+++ b/sys/fs/puffs/puffs_vnops.c Tue Oct 14 08:16:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vnops.c,v 1.182.2.6 2014/10/13 18:57:46 martin Exp $ */
+/* $NetBSD: puffs_vnops.c,v 1.182.2.7 2014/10/14 08:16:03 martin 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.182.2.6 2014/10/13 18:57:46 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.182.2.7 2014/10/14 08:16:03 martin Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -1159,9 +1159,10 @@
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));
+ if (error) {
+ DPRINTF(("zero-fill 0x%" PRIxVSIZE "@0x%" PRIx64
+ " failed: error = %d\n", len, off, error));
+ }
return;
}
Home |
Main Index |
Thread Index |
Old Index