[OpenBIOS] r577 - trunk/openbios-devel/modules
svn at openbios.org
svn at openbios.org
Thu Sep 3 00:25:44 CEST 2009
Author: laurent
Date: 2009-09-03 00:25:44 +0200 (Thu, 03 Sep 2009)
New Revision: 577
Modified:
trunk/openbios-devel/modules/disk-label.c
Log:
Allow "boot hd:,%BOOT" to work again (and thus Quik).
Signed-off-by: Laurent Vivier <Laurent at vivier.eu>
Modified: trunk/openbios-devel/modules/disk-label.c
===================================================================
--- trunk/openbios-devel/modules/disk-label.c 2009-09-01 23:44:24 UTC (rev 576)
+++ trunk/openbios-devel/modules/disk-label.c 2009-09-02 22:25:44 UTC (rev 577)
@@ -79,7 +79,7 @@
/* argument format: parnum,filename */
s = path;
- filename = NULL;
+ filename = "";
if( *s == '-' || isdigit(*s) ||
(*s >= 'a' && *s < ('a' + 8)
&& (*(s + 1) == ',' || *(s + 1) == '\0'))) {
@@ -146,7 +146,7 @@
push_str( filename );
PUSH_ph( ph );
fword("interpose");
- } else if (filename && strcmp(filename, "%BOOT") != 0) {
+ } else if (*filename && strcmp(filename, "%BOOT") != 0) {
goto out;
}
success = 1;
More information about the OpenBIOS
mailing list