patch-2.0.19 linux/init/main.c
Next file: linux/ipc/shm.c
Previous file: linux/include/linux/wait.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Sep 11 11:44:54 1996
- Orig file:
v2.0.18/linux/init/main.c
- Orig date:
Sun Sep 8 19:50:21 1996
diff -u --recursive --new-file v2.0.18/linux/init/main.c linux/init/main.c
@@ -799,6 +799,7 @@
prof_len = (unsigned long) &_etext - (unsigned long) &_stext;
prof_len >>= prof_shift;
memory_start += prof_len * sizeof(unsigned int);
+ memset(prof_buffer, 0, prof_len * sizeof(unsigned int));
}
memory_start = console_init(memory_start,memory_end);
#ifdef CONFIG_PCI
@@ -968,7 +969,7 @@
if ((open("/dev/tty1",O_RDWR,0) < 0) &&
(open("/dev/ttyS0",O_RDWR,0) < 0))
- printk("Unable to open a initial console.\n");
+ printk("Unable to open an initial console.\n");
(void) dup(0);
(void) dup(0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov