diff options
| author | hpa <hpa> | 2004-12-28 23:49:43 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-12-28 23:49:43 +0000 |
| commit | 01b268cbf57515c37cad7dde05b6503e8d64bd5f (patch) | |
| tree | b0f83e49823cea949bf8644071f0aca4dade270c /com32/modules/chain.c | |
| parent | b276b20eebea84bdf991d07da1bdff4c23b430c8 (diff) | |
| download | syslinux-3.00-pre8.tar.gz | |
Fix using the resolver function from the API (with DS != CS); addsyslinux-3.00-pre8
test/sample file to do that; fix bug in chain.c.
Diffstat (limited to 'com32/modules/chain.c')
| -rw-r--r-- | com32/modules/chain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/modules/chain.c b/com32/modules/chain.c index 9db30cbd..eea48f18 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -29,6 +29,7 @@ #include <stdio.h> #include <ctype.h> #include <string.h> +#include <console.h> #define SECTOR 512 /* bytes/sector */ @@ -260,6 +261,8 @@ int main(void) int hd, drive, whichpart; static com32sys_t inreg; /* In bss, so zeroed automatically */ + openconsole(&dev_null_r, &dev_stdcon_w); + /* Parse command line */ while ( isspace(*cmdline) ) cmdline++; @@ -354,6 +357,3 @@ int main(void) bail: return 255; } - - - |
