Module Name: src
Committed By: martin
Date: Mon Mar 1 22:53:09 UTC 2010
Modified Files:
src/sys/arch/sparc64/dev: tda.c
Log Message:
Fix printf formats (for 32bit compiles)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/dev/tda.c
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/sparc64/dev/tda.c
diff -u src/sys/arch/sparc64/dev/tda.c:1.1 src/sys/arch/sparc64/dev/tda.c:1.2
--- src/sys/arch/sparc64/dev/tda.c:1.1 Sun Feb 28 11:49:44 2010
+++ src/sys/arch/sparc64/dev/tda.c Mon Mar 1 22:53:09 2010
@@ -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)