summaryrefslogtreecommitdiffstats
path: root/sys/netatm/spans/spans_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-09-17 09:35:02 +0000
committerphk <phk@FreeBSD.org>1998-09-17 09:35:02 +0000
commit231bd37d3c3215f2bf6cccc1a4f6d79ac7e1b167 (patch)
tree28f16d9c354c723093e7fcf66c873381205685c1 /sys/netatm/spans/spans_subr.c
parent399a16928fecfe7a1b87962aa2146351791bb090 (diff)
downloadFreeBSD-src-231bd37d3c3215f2bf6cccc1a4f6d79ac7e1b167.zip
FreeBSD-src-231bd37d3c3215f2bf6cccc1a4f6d79ac7e1b167.tar.gz
Two patches from the HARP people:
Various Makefile related fixes. -Wformat fixes. Submitted by: Mike Spengler <mks@networkcs.com>
Diffstat (limited to 'sys/netatm/spans/spans_subr.c')
-rw-r--r--sys/netatm/spans/spans_subr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netatm/spans/spans_subr.c b/sys/netatm/spans/spans_subr.c
index 48b9705..a6e720f 100644
--- a/sys/netatm/spans/spans_subr.c
+++ b/sys/netatm/spans/spans_subr.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: spans_subr.c,v 1.9 1998/08/26 23:29:10 mks Exp $
+ * @(#) $Id: spans_subr.c,v 1.1 1998/09/15 08:23:04 phk Exp $
*
*/
@@ -36,7 +36,7 @@
*/
#ifndef lint
-static char *RCSid = "@(#) $Id: spans_subr.c,v 1.9 1998/08/26 23:29:10 mks Exp $";
+static char *RCSid = "@(#) $Id: spans_subr.c,v 1.1 1998/09/15 08:23:04 phk Exp $";
#endif
#include <netatm/kern_include.h>
@@ -77,7 +77,7 @@ spans_open_vcc(spp, cvp)
spans_aal aal;
int err, pvc, vpi, vci;
- ATM_DEBUG2("spans_open_vcc: spp=0x%x, cvp=0x%x\n", spp, cvp);
+ ATM_DEBUG2("spans_open_vcc: spp=%p, cvp=%p\n", spp, cvp);
/*
* Validate user parameters. AAL and encapsulation are
@@ -269,7 +269,7 @@ spans_close_vcc(spp, svp, force)
{
int err = 0;
- ATM_DEBUG2("spans_close_vcc: svp=0x%x, state=%d\n", svp,
+ ATM_DEBUG2("spans_close_vcc: svp=%p, state=%d\n", svp,
svp->sv_sstate);
/*
@@ -361,7 +361,7 @@ spans_clear_vcc(spp, svp)
{
u_char outstate;
- ATM_DEBUG2("spans_clear_vcc: svp=0x%x, state=%d\n", svp,
+ ATM_DEBUG2("spans_clear_vcc: svp=%p, state=%d\n", svp,
svp->sv_sstate);
/*
@@ -438,7 +438,7 @@ spans_switch_reset(spp, cause)
int s;
struct vccb *vcp, *vnext;
- ATM_DEBUG2("spans_switch_reset: spp=0x%x, cause=%d\n",
+ ATM_DEBUG2("spans_switch_reset: spp=%p, cause=%d\n",
spp, cause);
/*
@@ -486,7 +486,7 @@ spans_switch_reset(spp, cause)
break;
}
} else {
- log(LOG_ERR, "spans: invalid VCC type: vccb=0x%x, type=%d\n",
+ log(LOG_ERR, "spans: invalid VCC type: vccb=%p, type=%d\n",
vcp, vcp->vc_type);
}
}
OpenPOWER on IntegriCloud