extlinux: "open" takes a mangled pointer in DS:DI
authorH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jun 2007 19:42:53 +0000 (12:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jun 2007 19:42:53 +0000 (12:42 -0700)
"open" takes a mangled filename, and as is usual with mangled names, it is
pointed to by DI, not SI.

extlinux.asm

index 545437a..e5c89ba 100644 (file)
@@ -851,7 +851,7 @@ load_config:
                mov di,ConfigName
                call strcpy
 
-               mov si,ConfigName
+               mov di,ConfigName
                call open
                jz no_config_file