Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/chfs i missed a file - quick workaround for compilat...
details: https://anonhg.NetBSD.org/src/rev/81ba0c01a09f
branches: trunk
changeset: 771551:81ba0c01a09f
user: agc <agc%NetBSD.org@localhost>
date: Thu Nov 24 21:22:39 2011 +0000
description:
i missed a file - quick workaround for compilation bugs on amd64
diffstat:
sys/ufs/chfs/chfs_build.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r 790879ba7542 -r 81ba0c01a09f sys/ufs/chfs/chfs_build.c
--- a/sys/ufs/chfs/chfs_build.c Thu Nov 24 21:09:37 2011 +0000
+++ b/sys/ufs/chfs/chfs_build.c Thu Nov 24 21:22:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chfs_build.c,v 1.1 2011/11/24 15:51:31 ahoka Exp $ */
+/* $NetBSD: chfs_build.c,v 1.2 2011/11/24 21:22:39 agc Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
@@ -91,7 +91,8 @@
if (child_vc->pvno) {
chfs_err("found a hard link: child dir: %s"
", (vno: %llu) of dir vno: %llu\n",
- fd->name, fd->vno, vc->vno);
+ fd->name, (unsigned long long)fd->vno,
+ (unsigned long long)vc->vno);
} else {
//dbg("child_vc->pvno =
// vc->vno; pvno = %d\n", child_vc->pvno);
@@ -119,7 +120,7 @@
struct chfs_dirent *fd, *tmpfd;
dbg("START\n");
- dbg("vno: %llu\n", vc->vno);
+ dbg("vno: %llu\n", (unsigned long long)vc->vno);
nref = vc->dnode;
KASSERT(mutex_owned(&chmp->chm_lock_mountfields));
@@ -144,8 +145,8 @@
struct chfs_vnode_cache *child_vc;
// fd = vc->scan_dirents;
dbg("dirent dump:\n");
- dbg(" ->vno: %llu\n", fd->vno);
- dbg(" ->version: %llu\n", fd->version);
+ dbg(" ->vno: %llu\n", (unsigned long long)fd->vno);
+ dbg(" ->version: %llu\n", (unsigned long long)fd->version);
dbg(" ->nhash: 0x%x\n", fd->nhash);
dbg(" ->nsize: %d\n", fd->nsize);
dbg(" ->name: %s\n", fd->name);
@@ -310,7 +311,7 @@
for (i = 0; i < VNODECACHE_SIZE; i++) {
vc = chmp->chm_vnocache_hash[i];
while (vc) {
- dbg("vc->vno: %llu\n", vc->vno);
+ dbg("vc->vno: %llu\n", (unsigned long long)vc->vno);
if (!TAILQ_EMPTY(&vc->scan_dirents))
chfs_build_set_vnodecache_nlink(chmp, vc);
vc = vc->next;
Home |
Main Index |
Thread Index |
Old Index