Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/dev use PRIx64 for printing 64-bit values
details: https://anonhg.NetBSD.org/src/rev/778da89271f4
branches: trunk
changeset: 764181:778da89271f4
user: plunky <plunky%NetBSD.org@localhost>
date: Wed Apr 13 16:22:09 2011 +0000
description:
use PRIx64 for printing 64-bit values
diffstat:
sys/arch/sgimips/dev/crmfb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b4e0d3cccb0e -r 778da89271f4 sys/arch/sgimips/dev/crmfb.c
--- a/sys/arch/sgimips/dev/crmfb.c Wed Apr 13 16:18:14 2011 +0000
+++ b/sys/arch/sgimips/dev/crmfb.c Wed Apr 13 16:22:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crmfb.c,v 1.32 2011/04/07 01:20:31 macallan Exp $ */
+/* $NetBSD: crmfb.c,v 1.33 2011/04/13 16:22:09 plunky Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: crmfb.c,v 1.32 2011/04/07 01:20:31 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: crmfb.c,v 1.33 2011/04/13 16:22:09 plunky Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -968,7 +968,7 @@
bus_space_write_8(sc->sc_iot, sc->sc_reh,
CRIME_RE_TLB_A + tlbptr + lptr,
reg);
- DPRINTF("%04x: %016llx\n", tlbptr + lptr, reg);
+ DPRINTF("%04x: %016"PRIx64"\n", tlbptr + lptr, reg);
reg = 0;
lptr += 8;
}
@@ -977,7 +977,7 @@
if (shift != 64) {
bus_space_write_8(sc->sc_iot, sc->sc_reh,
CRIME_RE_TLB_A + tlbptr + lptr, reg);
- DPRINTF("%04x: %016llx\n", tlbptr + lptr, reg);
+ DPRINTF("%04x: %016"PRIx64"\n", tlbptr + lptr, reg);
}
tlbptr += 32;
}
Home |
Main Index |
Thread Index |
Old Index