summaryrefslogtreecommitdiffstats
path: root/sys/netatm/ipatm
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/ipatm
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/ipatm')
-rw-r--r--sys/netatm/ipatm/ipatm_event.c12
-rw-r--r--sys/netatm/ipatm/ipatm_vcm.c8
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/netatm/ipatm/ipatm_event.c b/sys/netatm/ipatm/ipatm_event.c
index 048edf9..842ee64 100644
--- a/sys/netatm/ipatm/ipatm_event.c
+++ b/sys/netatm/ipatm/ipatm_event.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: ipatm_event.c,v 1.8 1998/08/06 18:21:13 mks Exp $
+ * @(#) $Id: ipatm_event.c,v 1.1 1998/09/15 08:23:00 phk Exp $
*
*/
@@ -36,7 +36,7 @@
*/
#ifndef lint
-static char *RCSid = "@(#) $Id: ipatm_event.c,v 1.8 1998/08/06 18:21:13 mks Exp $";
+static char *RCSid = "@(#) $Id: ipatm_event.c,v 1.1 1998/09/15 08:23:00 phk Exp $";
#endif
#include <netatm/kern_include.h>
@@ -128,8 +128,8 @@ ipatm_timeout(tip)
break;
default:
- log(LOG_ERR, "ipatm: invalid timer state: ivp=0x%x, state=%d\n",
- (int)ivp, ivp->iv_state);
+ log(LOG_ERR, "ipatm: invalid timer state: ivp=%p, state=%d\n",
+ ivp, ivp->iv_state);
}
}
@@ -383,8 +383,8 @@ ipatm_arpnotify(ivp, event)
break;
default:
- log(LOG_ERR, "ipatm: unknown arp event %d, ivp=0x%x\n",
- event, (int)ivp);
+ log(LOG_ERR, "ipatm: unknown arp event %d, ivp=%p\n",
+ event, ivp);
}
}
diff --git a/sys/netatm/ipatm/ipatm_vcm.c b/sys/netatm/ipatm/ipatm_vcm.c
index 5d6a7fc..cb8f46b 100644
--- a/sys/netatm/ipatm/ipatm_vcm.c
+++ b/sys/netatm/ipatm/ipatm_vcm.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: ipatm_vcm.c,v 1.13 1998/08/06 18:21:14 mks Exp $
+ * @(#) $Id: ipatm_vcm.c,v 1.1 1998/09/15 08:23:01 phk Exp $
*
*/
@@ -36,7 +36,7 @@
*/
#ifndef lint
-static char *RCSid = "@(#) $Id: ipatm_vcm.c,v 1.13 1998/08/06 18:21:14 mks Exp $";
+static char *RCSid = "@(#) $Id: ipatm_vcm.c,v 1.1 1998/09/15 08:23:01 phk Exp $";
#endif
#include <netatm/kern_include.h>
@@ -1093,8 +1093,8 @@ ipatm_closevc(ivp, code)
default:
log(LOG_ERR,
- "ipatm_closevc: unknown state: ivp=0x%x, state=%d\n",
- (int)ivp, ivp->iv_state);
+ "ipatm_closevc: unknown state: ivp=%p, state=%d\n",
+ ivp, ivp->iv_state);
}
/*
OpenPOWER on IntegriCloud