diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-05-01 07:48:35 +0200 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-05-01 07:48:35 +0200 |
commit | c9621dba0331d0024f9c43fc2a5a9f91decded67 (patch) | |
tree | dcfab18f69a02ebd1d1f2884f80524465312a7e4 /com32/hdt/hdt-cli-hdt.c | |
parent | d222f57d5fce7908f7cca3f32546ac789e8b3f4d (diff) | |
download | syslinux-c9621dba0331d0024f9c43fc2a5a9f91decded67.tar.gz |
hdt: removing useless clear screen on dmi> show memory
Impact: Improving display usage
No need to clearscreen for such display
Diffstat (limited to 'com32/hdt/hdt-cli-hdt.c')
-rw-r--r-- | com32/hdt/hdt-cli-hdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c index df86e691..8069b190 100644 --- a/com32/hdt/hdt-cli-hdt.c +++ b/com32/hdt/hdt-cli-hdt.c @@ -217,8 +217,8 @@ void main_show_summary(int argc __unused, char **argv __unused, more_printf(" Release : %s\n", hardware->dmi.bios.release_date); - int argc = 2; - char *argv[2] = { "0", "0" }; + int argc = 1; + char *argv[1] = { "0" }; show_dmi_memory_modules(argc, argv, hardware); } main_show_pci(argc, argv, hardware); |