Fix LINT build.
authorSascha Wildner <saw@online.de>
Tue, 13 Jul 2010 12:31:27 +0000 (14:31 +0200)
committerSascha Wildner <saw@online.de>
Tue, 13 Jul 2010 12:31:27 +0000 (14:31 +0200)
sys/dev/disk/dm/dm_ioctl.c
sys/dev/netif/wpi/if_wpi.c

index 7c50afe..30eba07 100644 (file)
@@ -85,7 +85,7 @@
 #include <sys/disk.h>
 #include <sys/disklabel.h>
 #include <sys/malloc.h>
-#include <sys/malloc.h>
+#include <sys/udev.h>
 #include <sys/vnode.h>
 
 #include "netbsd-dm.h"
index d496ce0..91cfd4c 100644 (file)
@@ -2089,7 +2089,7 @@ wpi_start_locked(struct ifnet *ifp)
                        ifp->if_flags |= IFF_OACTIVE;
                        break;
                }
-               ni = ieee80211_ref_node(m->m_pkthdr.rcvif);
+               ni = ieee80211_ref_node((struct ieee80211_node *)m->m_pkthdr.rcvif);
                if (wpi_tx_data(sc, m, ni, ac) != 0) {
                        ieee80211_free_node(ni);
                        ifp->if_oerrors++;