summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sl.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-01 22:14:51 +0000
committerpeter <peter@FreeBSD.org>1999-07-01 22:14:51 +0000
commit13cc92f984952809bba19b5a7f9eb360af00185a (patch)
treeccb3bb8d715037d7e4ab126ad2055ec963ca8d56 /sys/net/if_sl.c
parentad9c54b9c8eb6e599e81bc01251238ccdbd130f8 (diff)
downloadFreeBSD-src-13cc92f984952809bba19b5a7f9eb360af00185a.zip
FreeBSD-src-13cc92f984952809bba19b5a7f9eb360af00185a.tar.gz
Fix a printf int/long problem on the Alpha
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r--sys/net/if_sl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index d5ef37b..22df1e4 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
- * $Id: if_sl.c,v 1.73 1999/02/02 00:28:29 dillon Exp $
+ * $Id: if_sl.c,v 1.74 1999/04/27 11:17:02 phk Exp $
*/
/*
@@ -249,7 +249,8 @@ slinit(sc)
if (p)
sc->sc_ep = (u_char *)p + SLBUFSIZE;
else {
- printf("sl%d: can't allocate buffer\n", sc - sl_softc);
+ printf("sl%ld: can't allocate buffer\n",
+ (long)(sc - sl_softc));
return (0);
}
}
OpenPOWER on IntegriCloud