patch-2.2.6 linux/fs/proc/link.c
Next file: linux/fs/smbfs/dir.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Apr 12 16:18:26 1999
- Orig file:
v2.2.5/linux/fs/proc/link.c
- Orig date:
Mon Sep 28 10:51:35 1998
diff -u --recursive --new-file v2.2.5/linux/fs/proc/link.c linux/fs/proc/link.c
@@ -158,7 +158,7 @@
path = tmp;
} else {
path = d_path(dentry, tmp, PAGE_SIZE);
- len = tmp + PAGE_SIZE - path;
+ len = tmp + PAGE_SIZE - 1 - path;
}
if (len < buflen)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)