stupid void pointers... tl_init() needs struct ifnet *...

This commit is contained in:
christos 2002-03-07 21:42:20 +00:00
parent 081041f2f7
commit 833f408cd1
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tl.c,v 1.50 2002/03/05 04:12:59 itojun Exp $ */ /* $NetBSD: if_tl.c,v 1.51 2002/03/07 21:42:20 christos Exp $ */
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@ -36,7 +36,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.50 2002/03/05 04:12:59 itojun Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.51 2002/03/07 21:42:20 christos Exp $");
#undef TLDEBUG #undef TLDEBUG
#define TL_PRIV_STATS #define TL_PRIV_STATS
@ -1405,7 +1405,7 @@ tl_mediachange(ifp)
{ {
if (ifp->if_flags & IFF_UP) if (ifp->if_flags & IFF_UP)
tl_init(ifp->if_softc); tl_init(ifp);
return (0); return (0);
} }