+- add patches.fixes/linux-post-2.6.3-20040220
[linux-flexiantxendom0-3.2.10.git] / arch / i386 / kernel / setup.c
index 30ad7c4..8204948 100644 (file)
@@ -1120,12 +1120,13 @@ void __init setup_arch(char **cmdline_p)
 
 #ifdef CONFIG_EARLY_PRINTK
        {
-       char *s = strstr(*cmdline_p, "earlyprintk="); 
-       if (s) { 
-            extern void setup_early_printk(char *);
-            setup_early_printk(s+12); 
-             printk("early console should work ....\n");
-       }
+               char *s = strstr(*cmdline_p, "earlyprintk=");
+               if (s) {
+                       extern void setup_early_printk(char *);
+
+                       setup_early_printk(s);
+                       printk("early console enabled\n");
+               }
        }
 #endif