diff options
-rw-r--r-- | sys/dev/pci/if_san_obsd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/if_san_obsd.c b/sys/dev/pci/if_san_obsd.c index ca0c5891e91..3dc5ca2007f 100644 --- a/sys/dev/pci/if_san_obsd.c +++ b/sys/dev/pci/if_san_obsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_san_obsd.c,v 1.13 2012/04/11 17:42:53 mikeb Exp $ */ +/* $OpenBSD: if_san_obsd.c,v 1.14 2013/11/18 23:36:09 deraadt Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -83,10 +83,6 @@ static void wanpipe_generic_watchdog(struct ifnet*); static void wanpipe_generic_start(struct ifnet *); -static char *san_ifname_format = "san%d"; - - - static sdla_t * wanpipe_generic_getcard(struct ifnet *ifp) { @@ -111,7 +107,7 @@ wanpipe_generic_name(sdla_t *card, char *ifname, int len) { static int ifunit = 0; - snprintf(ifname, len, san_ifname_format, ifunit++); + snprintf(ifname, len, "san%d", ifunit++); return (0); } |