Module Name: src
Committed By: manu
Date: Mon Oct 6 09:05:55 UTC 2014
Modified Files:
src/sys/fs/puffs: puffs_vnops.c
Log Message:
Retore LP64 fix that was removed by mistake
To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/fs/puffs/puffs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/puffs/puffs_vnops.c
diff -u src/sys/fs/puffs/puffs_vnops.c:1.190 src/sys/fs/puffs/puffs_vnops.c:1.191
--- src/sys/fs/puffs/puffs_vnops.c:1.190 Mon Oct 6 04:41:59 2014
+++ src/sys/fs/puffs/puffs_vnops.c Mon Oct 6 09:05:55 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: puffs_vnops.c,v 1.190 2014/10/06 04:41:59 manu Exp $ */
+/* $NetBSD: puffs_vnops.c,v 1.191 2014/10/06 09:05:55 manu 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.190 2014/10/06 04:41:59 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.191 2014/10/06 09:05:55 manu Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -1160,7 +1160,8 @@ zerofill_lastpage(struct vnode *vp, voff
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%llx => %d\n", len, off, error));
+ DPRINTF(("zero-fill 0x%lx@0x%" PRIx64 " failed: error = %d\n",
+ len, off, error));
return;
}