diff options
Diffstat (limited to 'net/9p/error.c')
-rw-r--r-- | net/9p/error.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/9p/error.c b/net/9p/error.c index 52518512a93e..2ab2de76010f 100644 --- a/net/9p/error.c +++ b/net/9p/error.c | |||
@@ -27,6 +27,8 @@ | |||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
31 | |||
30 | #include <linux/module.h> | 32 | #include <linux/module.h> |
31 | #include <linux/list.h> | 33 | #include <linux/list.h> |
32 | #include <linux/jhash.h> | 34 | #include <linux/jhash.h> |
@@ -237,8 +239,8 @@ int p9_errstr2errno(char *errstr, int len) | |||
237 | if (errno == 0) { | 239 | if (errno == 0) { |
238 | /* TODO: if error isn't found, add it dynamically */ | 240 | /* TODO: if error isn't found, add it dynamically */ |
239 | errstr[len] = 0; | 241 | errstr[len] = 0; |
240 | printk(KERN_ERR "%s: server reported unknown error %s\n", | 242 | pr_err("%s: server reported unknown error %s\n", |
241 | __func__, errstr); | 243 | __func__, errstr); |
242 | errno = ESERVERFAULT; | 244 | errno = ESERVERFAULT; |
243 | } | 245 | } |
244 | 246 | ||