Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/sysvbfs Fix build with SYSVBFS_VNOPS_DEBUG.
details: https://anonhg.NetBSD.org/src/rev/09bad790d235
branches: trunk
changeset: 756417:09bad790d235
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Jul 17 00:13:42 2010 +0000
description:
Fix build with SYSVBFS_VNOPS_DEBUG.
diffstat:
sys/fs/sysvbfs/sysvbfs_vnops.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r de6e12dc619c -r 09bad790d235 sys/fs/sysvbfs/sysvbfs_vnops.c
--- a/sys/fs/sysvbfs/sysvbfs_vnops.c Fri Jul 16 23:41:01 2010 +0000
+++ b/sys/fs/sysvbfs/sysvbfs_vnops.c Sat Jul 17 00:13:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysvbfs_vnops.c,v 1.32 2010/07/16 23:41:01 njoly Exp $ */
+/* $NetBSD: sysvbfs_vnops.c,v 1.33 2010/07/17 00:13:42 njoly Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysvbfs_vnops.c,v 1.32 2010/07/16 23:41:01 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysvbfs_vnops.c,v 1.33 2010/07/17 00:13:42 njoly Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -574,7 +574,7 @@
struct bfs_dirent *file;
int i, n, error;
- DPRINTF("%s: offset=%lld residue=%d\n", __func__,
+ DPRINTF("%s: offset=%" PRId64 " residue=%zu\n", __func__,
uio->uio_offset, uio->uio_resid);
KDASSERT(vp->v_type == VDIR);
@@ -682,7 +682,8 @@
*a->a_vpp = bmp->devvp;
*a->a_runp = 0;
- DPRINTF("%s: %d + %lld\n", __func__, inode->start_sector, a->a_bn);
+ DPRINTF("%s: %d + %" PRId64 "\n", __func__, inode->start_sector,
+ a->a_bn);
*a->a_bnp = blk;
Home |
Main Index |
Thread Index |
Old Index