Hopefully make IFMEDIA_DEBUG compile. if_xname[] is a NetBSD addition,
we need if_name, if_unit. (maybe we should pick up if_xname[] ?) Pointed out by: jkb@yahoo-inc.com
This commit is contained in:
parent
e8ebc7f504
commit
2bb0e3300a
@ -1,5 +1,5 @@
|
||||
/* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */
|
||||
/* $Id: if_media.c,v 1.6 1998/02/09 06:09:54 eivind Exp $ */
|
||||
/* $Id: if_media.c,v 1.7 1999/04/16 21:22:45 peter Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997
|
||||
@ -246,8 +246,8 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd)
|
||||
*/
|
||||
#ifdef IFMEDIA_DEBUG
|
||||
if (ifmedia_debug) {
|
||||
printf("ifmedia_ioctl: switching %s to ",
|
||||
ifp->if_xname);
|
||||
printf("ifmedia_ioctl: switching %s%d to ",
|
||||
ifp->if_name, ifp->if_unit);
|
||||
ifmedia_printword(match->ifm_media);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user