diff --git a/[refs] b/[refs] index bc6b29b658a7..b1fd9fd19e41 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: da977b2c7eb4d6312f063a7b486f2aad99809710 +refs/heads/master: e540eb45a5254873245fd377f2fe3afc47bd33c1 diff --git a/trunk/fs/9p/error.c b/trunk/fs/9p/error.c index ae91555c1558..0d7fa4e08812 100644 --- a/trunk/fs/9p/error.c +++ b/trunk/fs/9p/error.c @@ -83,6 +83,7 @@ int v9fs_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__, errstr); errno = 1;