summaryrefslogtreecommitdiff
path: root/sys/netiso/iso_snpac.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 22:33:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 22:33:19 +0000
commit67d88b0a9910a68bb666b448d2dac29cb4d3d8c2 (patch)
tree967b89f6e07398a22bd8c76d30179b648776542d /sys/netiso/iso_snpac.c
parentba95d3c1d69cdb251d15a12ebf70f50b0ea2019b (diff)
partial sync with netbsd 960418, more to come
Diffstat (limited to 'sys/netiso/iso_snpac.c')
-rw-r--r--sys/netiso/iso_snpac.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/netiso/iso_snpac.c b/sys/netiso/iso_snpac.c
index 55138723796..991ccc25c66 100644
--- a/sys/netiso/iso_snpac.c
+++ b/sys/netiso/iso_snpac.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: iso_snpac.c,v 1.2 1996/03/04 10:35:39 mickey Exp $ */
-/* $NetBSD: iso_snpac.c,v 1.11 1996/02/13 22:10:25 christos Exp $ */
+/* $OpenBSD: iso_snpac.c,v 1.3 1996/04/21 22:29:32 deraadt Exp $ */
+/* $NetBSD: iso_snpac.c,v 1.12 1996/04/13 01:35:00 cgd Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -175,8 +175,7 @@ llc_rtrequest(req, rt, sa)
#ifdef ARGO_DEBUG
if (argo_debug[D_SNPA]) {
- printf("llc_rtrequest(%d, %x, %x)\n", req,
- (unsigned int) rt, (unsigned int) sa);
+ printf("llc_rtrequest(%d, %p, %p)\n", req, rt, sa);
}
#endif
if (rt->rt_flags & RTF_GATEWAY)
@@ -414,17 +413,15 @@ snpac_add(ifp, nsap, snpa, type, ht, nsellength)
#ifdef ARGO_DEBUG
if (argo_debug[D_SNPA]) {
- printf("snpac_add(%x, %x, %x, %x, %x, %x)\n",
- (unsigned int) ifp,
- (unsigned int) nsap,
- (unsigned int) snpa, type, ht, nsellength);
+ printf("snpac_add(%p, %p, %p, %x, %x, %x)\n",
+ ifp, nsap, snpa, type, ht, nsellength);
}
#endif
zap_isoaddr(dst, nsap);
rt = rtalloc1(sisotosa(&dst), 0);
#ifdef ARGO_DEBUG
if (argo_debug[D_SNPA]) {
- printf("snpac_add: rtalloc1 returns %x\n", (unsigned int) rt);
+ printf("snpac_add: rtalloc1 returns %p\n", rt);
}
#endif
if (rt == 0) {