aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/meminfo.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-04-08 13:52:30 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-04-26 09:53:19 +0100
commitc6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912 (patch)
treefd505e4edf26645dad9b2a9cf27e05d12c0bc5db /com32/modules/meminfo.c
parent90d5044ba28432921ca1f9ce393e9e8771d20274 (diff)
downloadsyslinux-c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912.tar.gz
syslinux-c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912.tar.xz
syslinux-c6f10fb1b9b4f56fa6d7b6b73e1fdef96b63d912.zip
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/modules/meminfo.c')
-rw-r--r--com32/modules/meminfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/modules/meminfo.c b/com32/modules/meminfo.c
index 6e24f355..96006d4c 100644
--- a/com32/modules/meminfo.c
+++ b/com32/modules/meminfo.c
@@ -117,8 +117,6 @@ static void dump_legacy(void)
int main(void)
{
- openconsole(&dev_null_r, &dev_stdcon_w);
-
dump_legacy();
dump_e820();