diff options
Diffstat (limited to 'net/x25/x25_in.c')
-rw-r--r-- | net/x25/x25_in.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/x25/x25_in.c b/net/x25/x25_in.c index a49cd4ec551a..d1b0dc79bb6f 100644 --- a/net/x25/x25_in.c +++ b/net/x25/x25_in.c | |||
@@ -23,6 +23,8 @@ | |||
23 | * i-frames. | 23 | * i-frames. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #define pr_fmt(fmt) "X25: " fmt | ||
27 | |||
26 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
27 | #include <linux/errno.h> | 29 | #include <linux/errno.h> |
28 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
@@ -317,7 +319,7 @@ static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametyp | |||
317 | break; | 319 | break; |
318 | 320 | ||
319 | default: | 321 | default: |
320 | printk(KERN_WARNING "x25: unknown %02X in state 3\n", frametype); | 322 | pr_warn("unknown %02X in state 3\n", frametype); |
321 | break; | 323 | break; |
322 | } | 324 | } |
323 | 325 | ||