net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is not defined
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 18 May 2010 06:56:32 +0000 (06:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:21:13 +0000 (23:21 -0700)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index 256419583d9d1e6e7cf17a9f9a06489a9c418af2..40291f3750247dfa12102178a6aed457e7735516 100644 (file)
@@ -2334,7 +2334,7 @@ do {                                                              \
 #define netif_vdbg(priv, type, dev, format, args...)           \
 ({                                                             \
        if (0)                                                  \
-               netif_printk(KERN_DEBUG, dev, format, ##args);  \
+               netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \
        0;                                                      \
 })
 #endif