Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 PRIx64 instead of llx for uint64_t format



details:   https://anonhg.NetBSD.org/src/rev/9d2a8304d569
branches:  trunk
changeset: 761840:9d2a8304d569
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Feb 09 02:30:09 2011 +0000

description:
PRIx64 instead of llx for uint64_t format

diffstat:

 sys/arch/x86/x86/genfb_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2e8bcf263208 -r 9d2a8304d569 sys/arch/x86/x86/genfb_machdep.c
--- a/sys/arch/x86/x86/genfb_machdep.c  Wed Feb 09 00:59:23 2011 +0000
+++ b/sys/arch/x86/x86/genfb_machdep.c  Wed Feb 09 02:30:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.5 2011/02/08 10:52:56 jmcneill Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.6 2011/02/09 02:30:09 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2009 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.5 2011/02/08 10:52:56 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.6 2011/02/09 02:30:09 jmcneill Exp $");
 
 #include "opt_mtrr.h"
 
@@ -92,7 +92,7 @@
        mtrr.flags = MTRR_VALID;
        mtrr.owner = 0;
 
-       aprint_debug("%s: 0x%llx-0x%llx\n", __func__,
+       aprint_debug("%s: 0x%" PRIx64 "-0x%" PRIx64 "\n", __func__,
            mtrr.base, mtrr.base + mtrr.len - 1);
 
        n = 1;



Home | Main Index | Thread Index | Old Index