aboutsummaryrefslogtreecommitdiff
path: root/net/9p/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/9p/error.c')
-rw-r--r--net/9p/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/error.c b/net/9p/error.c
index ab2458b6c90..64104b9cb42 100644
--- a/net/9p/error.c
+++ b/net/9p/error.c
@@ -230,7 +230,7 @@ int p9_errstr2errno(char *errstr, int len)
if (errno == 0) {
/* TODO: if error isn't found, add it dynamically */
errstr[len] = 0;
- printk(KERN_ERR "%s: errstr :%s: not found\n", __FUNCTION__,
+ printk(KERN_ERR "%s: errstr :%s: not found\n", __func__,
errstr);
errno = 1;
}