startup.patch 478 B

123456789101112
  1. diff -Nur linux-2.6.34.orig/init/main.c linux-2.6.34/init/main.c
  2. --- linux-2.6.34.orig/init/main.c 2010-05-16 23:17:36.000000000 +0200
  3. +++ linux-2.6.34/init/main.c 2010-05-20 20:13:26.321613615 +0200
  4. @@ -889,6 +890,8 @@
  5. if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
  6. printk(KERN_WARNING "Warning: unable to open an initial console.\n");
  7. + printk(KERN_WARNING "Starting Linux (built with OpenADK).\n");
  8. +
  9. (void) sys_dup(0);
  10. (void) sys_dup(0);
  11. /*