Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147622360
D50264.1783913260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D50264.1783913260.diff
View Options
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -33,7 +33,7 @@
*/
#include "if_wtapvar.h"
#include <sys/uio.h> /* uio struct */
-#include <sys/jail.h>
+#include <net/if.h>
#include <net/if_var.h>
#include <net/vnet.h>
@@ -395,7 +395,7 @@
ieee80211_vap_attach(vap, ieee80211_media_change,
ieee80211_media_status, mac);
avp->av_dev = make_dev(&wtap_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600,
- "%s", (const char *)vap->iv_ifp->if_xname);
+ "%s", if_name(vap->iv_ifp));
avp->av_dev->si_drv1 = sc;
callout_init(&avp->av_swba, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 13, 3:27 AM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29104506
Default Alt Text
D50264.1783913260.diff (631 B)
Attached To
Mode
D50264: wtap build error - missing header file
Attached
Detach File
Event Timeline
Log In to Comment