summaryrefslogtreecommitdiffstats
path: root/fs/isofs/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/isofs/symlink.c')
-rw-r--r--fs/isofs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/isofs/symlink.c b/fs/isofs/symlink.c
index c88c56760..5321e011a 100644
--- a/fs/isofs/symlink.c
+++ b/fs/isofs/symlink.c
@@ -56,7 +56,7 @@ static int isofs_readlink(struct inode * inode, char * buffer, int buflen)
if (!pnt)
return 0;
- i = strlen(pnt)+1;
+ i = strlen(pnt);
if (i > buflen)
i = buflen;
if (copy_to_user(buffer, pnt, i))