Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ofppc/include fix printf format string.



details:   https://anonhg.NetBSD.org/src/rev/5e1627b559be
branches:  trunk
changeset: 536442:5e1627b559be
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Sep 16 02:12:30 2002 +0000

description:
fix printf format string.

diffstat:

 sys/arch/ofppc/include/bus.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7e3aac91a293 -r 5e1627b559be sys/arch/ofppc/include/bus.h
--- a/sys/arch/ofppc/include/bus.h      Mon Sep 16 02:07:24 2002 +0000
+++ b/sys/arch/ofppc/include/bus.h      Mon Sep 16 02:12:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.1 2001/10/29 22:28:37 thorpej Exp $  */
+/*     $NetBSD: bus.h,v 1.2 2002/09/16 02:12:30 chs Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -92,7 +92,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 %u bytes %s:%d\n",      \
                    d, (u_long)(p), sizeof(t), __FILE__, __LINE__);     \
        }                                                               \
        (void) 0;                                                       \



Home | Main Index | Thread Index | Old Index