diff options
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; } - - - |