summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2005-05-22 19:40:52 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2005-05-22 19:40:52 +0000
commit2d866d2b7371c091dd0dd359da0252f52d783f87 (patch)
treee09e910d40c428b99b6df80384f71ff22162bfed /sys/arch/mac68k
parenta9a480570f76f5accd41a996a1b69c69179653fb (diff)
remove "0x" in front of %p in printfs.
eyeballed by krw@
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/if_sn.c4
-rw-r--r--sys/arch/mac68k/mac68k/macrom.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c
index 41ed5e3c7ee..271fb8e7967 100644
--- a/sys/arch/mac68k/dev/if_sn.c
+++ b/sys/arch/mac68k/dev/if_sn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sn.c,v 1.35 2005/01/04 19:53:37 brad Exp $ */
+/* $OpenBSD: if_sn.c,v 1.36 2005/05/22 19:40:51 art Exp $ */
/* $NetBSD: if_sn.c,v 1.13 1997/04/25 03:40:10 briggs Exp $ */
/*
@@ -1094,7 +1094,7 @@ sonic_read(sc, pkt, len)
#ifdef SNDEBUG
{
- printf("%s: rcvd 0x%p len=%d type=0x%x from %s",
+ printf("%s: rcvd %p len=%d type=0x%x from %s",
sc->sc_dev.dv_xname, et, len, htons(et->ether_type),
ether_sprintf(et->ether_shost));
printf(" (to %s)\n", ether_sprintf(et->ether_dhost));
diff --git a/sys/arch/mac68k/mac68k/macrom.c b/sys/arch/mac68k/mac68k/macrom.c
index b85ab4f5c8e..13e121ea88e 100644
--- a/sys/arch/mac68k/mac68k/macrom.c
+++ b/sys/arch/mac68k/mac68k/macrom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macrom.c,v 1.28 2005/04/27 00:12:43 miod Exp $ */
+/* $OpenBSD: macrom.c,v 1.29 2005/05/22 19:40:51 art Exp $ */
/* $NetBSD: macrom.c,v 1.47 2000/11/15 07:15:36 scottr Exp $ */
/*-
@@ -839,7 +839,7 @@ mrg_init()
.word 0xa99d
movl sp@+, %0"
: "=g" (handle));
- printf("Handle to first DRVR resource is 0x%p\n", handle);
+ printf("Handle to first DRVR resource is %p\n", handle);
printf("DRVR: 0x%08lx -> 0x%08lx -> 0x%08lx\n",
(long)Get_Ind_Resource(0x44525652, 1),
(long)*Get_Ind_Resource(0x44525652, 1),
@@ -851,7 +851,7 @@ mrg_init()
.word 0xa99d
movl sp@+, %0"
: "=g" (handle));
- printf("Handle to second DRVR resource is 0x%p\n", handle);
+ printf("Handle to second DRVR resource is %p\n", handle);
printf("DRVR: 0x%08lx -> 0x%08lx -> 0x%08lx\n",
(long)Get_Ind_Resource(0x44525652, 2),
(long)*Get_Ind_Resource(0x44525652, 2),