diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 8678313a22b4..065df67b6422 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -1316,11 +1316,11 @@ extern int sock_get_timestamp(struct sock *, struct timeval __user *); | |||
1316 | */ | 1316 | */ |
1317 | 1317 | ||
1318 | #if 0 | 1318 | #if 0 |
1319 | #define NETDEBUG(x) do { } while (0) | 1319 | #define NETDEBUG(fmt, args...) do { } while (0) |
1320 | #define LIMIT_NETDEBUG(x) do {} while(0) | 1320 | #define LIMIT_NETDEBUG(fmt, args...) do { } while(0) |
1321 | #else | 1321 | #else |
1322 | #define NETDEBUG(x) do { x; } while (0) | 1322 | #define NETDEBUG(fmt, args...) printk(fmt,##args) |
1323 | #define LIMIT_NETDEBUG(x) do { if (net_ratelimit()) { x; } } while(0) | 1323 | #define LIMIT_NETDEBUG(fmt, args...) do { if (net_ratelimit()) printk(fmt,##args); } while(0) |
1324 | #endif | 1324 | #endif |
1325 | 1325 | ||
1326 | /* | 1326 | /* |