severity 324675 normal
merge 306012 324675
tags 324675 patch
thanks

Hi,

I believe that this problem arises due to a logic error in print_message() function from second/misc.c, which is called to print the boot banner. It supports substitution of some variables like ${ARCH} and ${PROM}, however if no such variables are found in the text, it just scans through it and breaks out of the loop without printing anything. The attached patch fixes the problem by ensuring that the message is printed in the end. It works for me, would be great if somebody else could confirm it.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
diff -aur silo-1.4.9-orig/second/misc.c silo-1.4.9/second/misc.c
--- silo-1.4.9-orig/second/misc.c       2005-02-22 10:03:20.000000000 -0800
+++ silo-1.4.9/second/misc.c    2005-11-16 23:16:27.000000000 -0800
@@ -439,8 +439,6 @@
             } else continue;
             if (curly && *p == '}') p++;
             msg = p;
-        } else if (!*p) {
-           break;
        } else {
             printf ("%s", msg);
             break;

Reply via email to