Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/puffs Make this build again without debugging enabled...
details: https://anonhg.NetBSD.org/src/rev/bf256fa3fac8
branches: trunk
changeset: 332732:bf256fa3fac8
user: he <he%NetBSD.org@localhost>
date: Mon Oct 06 14:26:44 2014 +0000
description:
Make this build again without debugging enabled; DPRINTF() can end up
as empty, and in an if conditional, you then need braces if that's the
only potential body.
diffstat:
sys/fs/puffs/puffs_vnops.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 07e57e51a7bd -r bf256fa3fac8 sys/fs/puffs/puffs_vnops.c
--- a/sys/fs/puffs/puffs_vnops.c Mon Oct 06 13:31:54 2014 +0000
+++ b/sys/fs/puffs/puffs_vnops.c Mon Oct 06 14:26:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vnops.c,v 1.191 2014/10/06 09:05:55 manu Exp $ */
+/* $NetBSD: puffs_vnops.c,v 1.192 2014/10/06 14:26:44 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.191 2014/10/06 09:05:55 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.192 2014/10/06 14:26:44 he 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)
+ if (error) {
DPRINTF(("zero-fill 0x%lx@0x%" PRIx64 " failed: error = %d\n",
len, off, error));
+ }
return;
}
Home |
Main Index |
Thread Index |
Old Index