patch-2.4.23 linux-2.4.23/drivers/sbus/char/envctrl.c

Next file: linux-2.4.23/drivers/scsi/3w-xxxx.c
Previous file: linux-2.4.23/drivers/sbus/char/cpwatchdog.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/sbus/char/envctrl.c linux-2.4.23/drivers/sbus/char/envctrl.c
@@ -1125,7 +1125,7 @@
 	}
 
 	err = kernel_thread(kenvctrld, NULL, CLONE_FS | CLONE_FILES);
-	if (err)
+	if (err < 0)
 		goto out_deregister;
 
 	return 0;

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