patch-2.4.0-test1 linux/init/main.c

Next file: linux/kernel/acct.c
Previous file: linux/include/linux/ufs_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre9/linux/init/main.c linux/init/main.c
@@ -521,6 +521,7 @@
 {
 	char * command_line;
 	unsigned long mempages;
+	extern char saved_command_line[];
 /*
  * Interrupts are still disabled. Do necessary setups, then
  * enable them
@@ -528,6 +529,7 @@
 	lock_kernel();
 	printk(linux_banner);
 	setup_arch(&command_line);
+	printk("Kernel command line: %s\n", saved_command_line);
 	trap_init();
 	init_IRQ();
 	sched_init();

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