diff options
author | phk <phk@FreeBSD.org> | 1998-09-17 09:35:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-09-17 09:35:02 +0000 |
commit | 231bd37d3c3215f2bf6cccc1a4f6d79ac7e1b167 (patch) | |
tree | 28f16d9c354c723093e7fcf66c873381205685c1 /sys/netatm/uni/sscop_lower.c | |
parent | 399a16928fecfe7a1b87962aa2146351791bb090 (diff) | |
download | FreeBSD-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/uni/sscop_lower.c')
-rw-r--r-- | sys/netatm/uni/sscop_lower.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/netatm/uni/sscop_lower.c b/sys/netatm/uni/sscop_lower.c index f76f702..536ed03 100644 --- a/sys/netatm/uni/sscop_lower.c +++ b/sys/netatm/uni/sscop_lower.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: sscop_lower.c,v 1.6 1998/04/07 23:21:28 mks Exp $ + * @(#) $Id: sscop_lower.c,v 1.1 1998/09/15 08:23:07 phk Exp $ * */ @@ -36,7 +36,7 @@ */ #ifndef lint -static char *RCSid = "@(#) $Id: sscop_lower.c,v 1.6 1998/04/07 23:21:28 mks Exp $"; +static char *RCSid = "@(#) $Id: sscop_lower.c,v 1.1 1998/09/15 08:23:07 phk Exp $"; #endif #include <netatm/kern_include.h> @@ -124,8 +124,8 @@ sscop_lower(cmd, tok, arg1, arg2) void (*func) __P((struct sscop *, int, int)); int val; - ATM_DEBUG5("sscop_lower: cmd=0x%x, sop=0x%x, state=%d, arg1=0x%x, arg2=0x%x\n", - cmd, (int)sop, sop->so_state, arg1, arg2); + ATM_DEBUG5("sscop_lower: cmd=0x%x, sop=%p, state=%d, arg1=0x%x, arg2=0x%x\n", + cmd, sop, sop->so_state, arg1, arg2); /* * Validate stack command @@ -136,8 +136,8 @@ sscop_lower(cmd, tok, arg1, arg2) ((stab = (sop->so_vers == SSCOP_VERS_QSAAL ? sscop_qsaal_aatab[val] : sscop_q2110_aatab[val])) == NULL)) { - log(LOG_ERR, "sscop_lower: unknown cmd 0x%x, sop=0x%x\n", - cmd, (int)sop); + log(LOG_ERR, "sscop_lower: unknown cmd 0x%x, sop=%p\n", + cmd, sop); return; } @@ -145,8 +145,8 @@ sscop_lower(cmd, tok, arg1, arg2) * Validate sscop state */ if (sop->so_state > SOS_MAXSTATE) { - log(LOG_ERR, "sscop_lower: invalid state sop=0x%x, state=%d\n", - (int)sop, sop->so_state); + log(LOG_ERR, "sscop_lower: invalid state sop=%p, state=%d\n", + sop, sop->so_state); /* * Release possible buffer */ @@ -163,8 +163,8 @@ sscop_lower(cmd, tok, arg1, arg2) func = stab[sop->so_state]; if (func == NULL) { log(LOG_ERR, - "sscop_lower: invalid cmd/state: sop=0x%x, cmd=0x%x, state=%d\n", - (int)sop, cmd, sop->so_state); + "sscop_lower: invalid cmd/state: sop=%p, cmd=0x%x, state=%d\n", + sop, cmd, sop->so_state); /* * Release possible buffer */ |