Module Name: src
Committed By: uebayasi
Date: Thu Dec 9 05:15:06 UTC 2010
Modified Files:
src/sys/arch/algor/include: bus.h
Log Message:
Fix DEBUG build.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/algor/include/bus.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/algor/include/bus.h
diff -u src/sys/arch/algor/include/bus.h:1.14 src/sys/arch/algor/include/bus.h:1.15
--- src/sys/arch/algor/include/bus.h:1.14 Mon Apr 28 20:23:10 2008
+++ src/sys/arch/algor/include/bus.h Thu Dec 9 05:15:06 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.14 2008/04/28 20:23:10 martin Exp $ */
+/* $NetBSD: bus.h,v 1.15 2010/12/09 05:15:06 uebayasi Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
#define __BUS_SPACE_ADDRESS_SANITY(p, t, d) \
({ \
if (__BUS_SPACE_ALIGNED_ADDRESS((p), t) == 0) { \
- printf("%s 0x%lx not aligned to %lu bytes %s:%d\n", \
+ printf("%s 0x%lx not aligned to %zu bytes %s:%d\n", \
d, (u_long)(p), sizeof(t), __FILE__, __LINE__); \
} \
(void) 0; \