summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-17 01:05:25 +0000
committerbde <bde@FreeBSD.org>1998-08-17 01:05:25 +0000
commit08a3400100457ad9f3c28fb818f0fb5e4b5de333 (patch)
treee5b4a79c7ec35eb71259210de3a6e8aec047fbae /sys/netipx
parente36ab6ee5ec93ccb0453b9ff3f72ee9142db62a2 (diff)
downloadFreeBSD-src-08a3400100457ad9f3c28fb818f0fb5e4b5de333.zip
FreeBSD-src-08a3400100457ad9f3c28fb818f0fb5e4b5de333.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/spx_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipx/spx_debug.c b/sys/netipx/spx_debug.c
index 624ea3b..e9b26c3 100644
--- a/sys/netipx/spx_debug.c
+++ b/sys/netipx/spx_debug.c
@@ -33,7 +33,7 @@
*
* @(#)spx_debug.c
*
- * $Id: spx_debug.c,v 1.11 1997/10/28 12:24:26 bde Exp $
+ * $Id: spx_debug.c,v 1.12 1998/01/08 23:41:57 eivind Exp $
*/
#include "opt_inet.h"
@@ -99,7 +99,7 @@ spx_trace(act, ostate, sp, si, req)
if (act >= SA_DROP)
act = SA_DROP;
if (sp != NULL)
- printf("%x %s:", sp, tcpstates[ostate]);
+ printf("%p %s:", (void *)sp, tcpstates[ostate]);
else
printf("???????? ");
printf("%s ", spxnames[act]);
OpenPOWER on IntegriCloud