patch-1.3.75 linux/kernel/sysctl.c

Next file: linux/mm/swapfile.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.74/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -192,7 +192,7 @@
 				    newval, newlen, root_table, &context);
 		if (context)
 			kfree(context);
-		if (error != ENOTDIR)
+		if (error != -ENOTDIR)
 			return error;
 		tmp = tmp->DLIST_NEXT(ctl_entry);
 	} while (tmp != &root_table_header);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this