kernel: Fix two typos, _KERNRL -> _KERNEL and ALTQ_unLOCK -> ALTQ_UNLOCK.
authorSascha Wildner <saw@online.de>
Thu, 21 Nov 2013 00:45:27 +0000 (01:45 +0100)
committerSascha Wildner <saw@online.de>
Thu, 21 Nov 2013 00:45:54 +0000 (01:45 +0100)
sys/net/altq/if_altq.h
sys/netgraph7/dragonfly.h

index ea0c7a3..c4e28bd 100644 (file)
@@ -173,7 +173,7 @@ struct      ifaltq {
        int     altq_maxlen;
 };
 
-#ifdef _KERNRL
+#ifdef _KERNEL
 /* COMPAT */
 #define ALTQ_LOCK(ifq) \
        ALTQ_SQ_LOCK(&(ifq)->altq_subq[ALTQ_SUBQ_INDEX_DEFAULT])
index 331bf0b..2f07a9f 100644 (file)
@@ -55,7 +55,7 @@ typedef __va_list     va_list;
 #define IFNET_RUNLOCK()        crit_exit()
 
 #define IFQ_LOCK(ifq)  ALTQ_LOCK((ifq))
-#define IFQ_UNLOCK(ifq)        ALTQ_unLOCK((ifq))
+#define IFQ_UNLOCK(ifq)        ALTQ_UNLOCK((ifq))
 
 #define printf         kprintf
 #define sprintf                ksprintf