summaryrefslogtreecommitdiff
path: root/sys/net/if_disc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_disc.c')
-rw-r--r--sys/net/if_disc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c
index 8fd6d9d62b6b..aa76d709afcc 100644
--- a/sys/net/if_disc.c
+++ b/sys/net/if_disc.c
@@ -69,7 +69,7 @@ static int discoutput(struct ifnet *, struct mbuf *,
struct sockaddr *, struct rtentry *);
static void discrtrequest(int, struct rtentry *, struct rt_addrinfo *);
static int discioctl(struct ifnet *, u_long, caddr_t);
-static int disc_clone_create(struct if_clone *, int);
+static int disc_clone_create(struct if_clone *, int, caddr_t);
static void disc_clone_destroy(struct ifnet *);
static MALLOC_DEFINE(M_DISC, DISCNAME, "Discard interface");
@@ -77,7 +77,7 @@ static MALLOC_DEFINE(M_DISC, DISCNAME, "Discard interface");
IFC_SIMPLE_DECLARE(disc, 0);
static int
-disc_clone_create(struct if_clone *ifc, int unit)
+disc_clone_create(struct if_clone *ifc, int unit, caddr_t params)
{
struct ifnet *ifp;
struct disc_softc *sc;