aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli-vesa.c')
-rw-r--r--com32/hdt/hdt-cli-vesa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-vesa.c b/com32/hdt/hdt-cli-vesa.c
index e6843eea..a48227df 100644
--- a/com32/hdt/hdt-cli-vesa.c
+++ b/com32/hdt/hdt-cli-vesa.c
@@ -33,7 +33,9 @@
#include <stdlib.h>
#include <errno.h>
-void main_show_vesa(struct s_hardware *hardware) {
+void main_show_vesa(int argc __unused, char **argv __unused,
+ struct s_hardware *hardware)
+{
detect_vesa(hardware);
if (hardware->is_vesa_valid==false) {
more_printf("No VESA BIOS detected\n");
@@ -72,7 +74,7 @@ static void show_vesa_help() {
static void vesa_show(char *item, struct s_hardware *hardware) {
if ( !strncmp(item, CLI_SHOW_LIST, sizeof(CLI_SHOW_LIST) - 1) ) {
- main_show_vesa(hardware);
+ main_show_vesa(0, NULL, hardware);
return;
}
if ( !strncmp(item, CLI_MODES, sizeof(CLI_MODES) - 1) ) {