Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Use PRIxVADDR



details:   https://anonhg.NetBSD.org/src/rev/73c4fcc6bb61
branches:  trunk
changeset: 749991:73c4fcc6bb61
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Dec 14 00:52:38 2009 +0000

description:
Use PRIxVADDR

diffstat:

 sys/dev/kloader.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r fc5f46f040fc -r 73c4fcc6bb61 sys/dev/kloader.c
--- a/sys/dev/kloader.c Mon Dec 14 00:52:04 2009 +0000
+++ b/sys/dev/kloader.c Mon Dec 14 00:52:38 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kloader.c,v 1.19 2009/03/18 10:22:39 cegger Exp $      */
+/*     $NetBSD: kloader.c,v 1.20 2009/12/14 00:52:38 matt Exp $        */
 
 /*-
  * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.19 2009/03/18 10:22:39 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.20 2009/12/14 00:52:38 matt Exp $");
 
 #include "debug_kloader.h"
 
@@ -510,7 +510,7 @@
                if (freesz > sz)
                        freesz = sz;
 
-               DPRINTFN(1, "0x%08lx + 0x%zx <- 0x%lx\n", dst, freesz,
+               DPRINTFN(1, "0x%08"PRIxVADDR" + 0x%zx <- 0x%lx\n", dst, freesz,
                    (unsigned long)ofs);
                kloader_read(ofs, freesz, (void *)(tag->src + tag->sz));
 
@@ -535,7 +535,7 @@
                if (freesz > sz)
                        freesz = sz;
 
-               DPRINTFN(1, "0x%08lx + 0x%zx <- %p\n", dst, freesz, src);
+               DPRINTFN(1, "0x%08"PRIxVADDR" + 0x%zx <- %p\n", dst, freesz, src);
                memcpy((void *)(tag->src + tag->sz), src, freesz);
 
                tag->sz += freesz;
@@ -559,7 +559,7 @@
                if (freesz > sz)
                        freesz = sz;
 
-               DPRINTFN(1, "0x%08lx + 0x%zx\n", dst, freesz);
+               DPRINTFN(1, "0x%08"PRIxVADDR" + 0x%zx\n", dst, freesz);
                memset((void *)(tag->src + tag->sz), 0, freesz);
 
                tag->sz += freesz;



Home | Main Index | Thread Index | Old Index