summaryrefslogtreecommitdiffstats
path: root/fs/9p/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/error.h')
-rw-r--r--fs/9p/error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/error.h b/fs/9p/error.h
index 78f89acf7c9a..8b3176b3f658 100644
--- a/fs/9p/error.h
+++ b/fs/9p/error.h
@@ -36,6 +36,7 @@ struct errormap {
char *name;
int val;
+ int namelen;
struct hlist_node list;
};
@@ -175,4 +176,4 @@ static struct errormap errmap[] = {
};
extern int v9fs_error_init(void);
-extern int v9fs_errstr2errno(char *errstr);
+extern int v9fs_errstr2errno(char *errstr, int len);
OpenPOWER on IntegriCloud