patch-2.2.13 linux/fs/proc/root.c

Next file: linux/fs/qnx4/dir.c
Previous file: linux/fs/proc/fd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.12/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -845,6 +845,7 @@
 		}
 		pid *= 10;
 		pid += c;
+		if (!pid) break;
 		if (pid & 0xffff0000) {
 			pid = 0;
 			break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)