patch-2.1.73 linux/fs/proc/generic.c

Next file: linux/fs/smbfs/dir.c
Previous file: linux/fs/nfsd/vfs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/fs/proc/generic.c linux/fs/proc/generic.c
@@ -154,7 +154,7 @@
 			break;
 		}
 		
-		n -= copy_to_user(buf, start, n);
+		n -= copy_to_user(buf, start, n);	/* BUG ??? */
 		if (n == 0) {
 			if (retval == 0)
 				retval = -EFAULT;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov