patch-2.0.36 linux/fs/pipe.c

Next file: linux/fs/proc/array.c
Previous file: linux/fs/nfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.35/linux/fs/pipe.c linux/fs/pipe.c
@@ -413,7 +413,7 @@
 	int error;
 	int i,j;
 
-	error = ENFILE;
+	error = -ENFILE;
 	f1 = get_empty_filp();
 	if (!f1)
 		goto no_files;

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