Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Fix printf formats (for 32bit compiles)



details:   https://anonhg.NetBSD.org/src/rev/17c30c5f8033
branches:  trunk
changeset: 752599:17c30c5f8033
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 01 22:53:09 2010 +0000

description:
Fix printf formats (for 32bit compiles)

diffstat:

 sys/arch/sparc64/dev/tda.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 152e85a8cff6 -r 17c30c5f8033 sys/arch/sparc64/dev/tda.c
--- a/sys/arch/sparc64/dev/tda.c        Mon Mar 01 22:38:29 2010 +0000
+++ b/sys/arch/sparc64/dev/tda.c        Mon Mar 01 22:53:09 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tda.c,v 1.1 2010/02/28 11:49:44 martin Exp $   */
+/*     $NetBSD: tda.c,v 1.2 2010/03/01 22:53:09 martin Exp $   */
 /*     $OpenBSD: tda.c,v 1.4 2008/02/27 17:25:00 robert Exp $ */
 
 /*
@@ -200,7 +200,8 @@
                return;
        }
 
-       aprint_debug_dev(sc->sc_dev, "current temperature: cpu %lu system %lu\n",
+       aprint_debug_dev(sc->sc_dev, "current temperature: cpu %" PRIu64
+               " system %" PRIu64 "\n",
                ctemp, stemp);
 
        if (ctemp < CPU_TEMP_MIN)



Home | Main Index | Thread Index | Old Index