I made a small change to get rid of a of a compile warning:
--- kmod.c Sat Mar 28 12:09:35 1998
+++ linux/kernel/kmod.c Sat Mar 28 12:28:12 1998
@@ -119,9 +122,9 @@
Call modprobe with module_name. If execve returns,
print out an error.
*/
- slot->argv[2] = slot->module_name;
- execve(modprobe_path, slot->argv, envp);
+ err = execve(modprobe_path, slot->argv, envp);
printk("Modprobe load failed - couldn't load %s\n",slot->module_name);
+ printk("Error code %d\n",err);
slot->info = MODRQ_FAILURE;
_exit(0);
} else {
-- Shaw Carruthers - shaw@shawc.demon.co.uk London SW14 7JW UK This is not a sig( with homage to Magritte).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu