Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/chfs quick workaround for compilation bug on amd64
details: https://anonhg.NetBSD.org/src/rev/5a1e12013dad
branches: trunk
changeset: 771549:5a1e12013dad
user: agc <agc%NetBSD.org@localhost>
date: Thu Nov 24 20:50:33 2011 +0000
description:
quick workaround for compilation bug on amd64
diffstat:
sys/ufs/chfs/chfs_wbuf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 29f957a4b729 -r 5a1e12013dad sys/ufs/chfs/chfs_wbuf.c
--- a/sys/ufs/chfs/chfs_wbuf.c Thu Nov 24 19:55:22 2011 +0000
+++ b/sys/ufs/chfs/chfs_wbuf.c Thu Nov 24 20:50:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: chfs_wbuf.c,v 1.1 2011/11/24 15:51:32 ahoka Exp $ */
+/* $NetBSD: chfs_wbuf.c,v 1.2 2011/11/24 20:50:33 agc Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
@@ -176,7 +176,8 @@
//dbg("3. wbuf ofs: %zu, len: %zu\n", chmp->chm_wbuf_ofs, chmp->chm_wbuf_len);
if (to != PAD(chmp->chm_wbuf_ofs + chmp->chm_wbuf_len)) {
- dbg("to: %llu != %zu\n", to, PAD(chmp->chm_wbuf_ofs + chmp->chm_wbuf_len));
+ dbg("to: %llu != %zu\n", (unsigned long long)to,
+ PAD(chmp->chm_wbuf_ofs + chmp->chm_wbuf_len));
dbg("Non-contiguous write\n");
panic("BUG\n");
}
Home |
Main Index |
Thread Index |
Old Index