diff options
author | Matt Fleming <matt.fleming@linux.intel.com> | 2011-04-08 13:52:30 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@linux.intel.com> | 2011-04-26 09:53:19 +0100 |
commit | c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912 (patch) | |
tree | fd505e4edf26645dad9b2a9cf27e05d12c0bc5db /com32/sysdump/main.c | |
parent | 90d5044ba28432921ca1f9ce393e9e8771d20274 (diff) | |
download | syslinux-c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912.tar.gz |
com32: console is already initialised when we enter main()
There's no need to initialise the console when we enter main() as
ldlinux.c32 will already have initialised it for us. Leaving the calls
to openconsole() causes the console settings to be reset whenever we
run a module.
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/sysdump/main.c')
-rw-r--r-- | com32/sysdump/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/com32/sysdump/main.c b/com32/sysdump/main.c index f672585d..eac931e5 100644 --- a/com32/sysdump/main.c +++ b/com32/sysdump/main.c @@ -72,7 +72,6 @@ int main(int argc, char *argv[]) { struct upload_backend **bep, *be; - openconsole(&dev_null_r, &dev_stdcon_w); fputs(version, stdout); if (argc < 2) |