aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-pxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli-pxe.c')
-rw-r--r--com32/hdt/hdt-cli-pxe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-pxe.c b/com32/hdt/hdt-cli-pxe.c
index 772c0dfd..f7972b0c 100644
--- a/com32/hdt/hdt-cli-pxe.c
+++ b/com32/hdt/hdt-cli-pxe.c
@@ -36,7 +36,8 @@
#include "hdt-cli.h"
#include "hdt-common.h"
-void main_show_pxe(struct s_hardware *hardware)
+void main_show_pxe(int argc __unused, char **argv __unused,
+ struct s_hardware *hardware)
{
char buffer[81];
memset(buffer, 0, sizeof(81));
@@ -85,7 +86,7 @@ static void show_pxe_help()
static void pxe_show(char *item, struct s_hardware *hardware)
{
if (!strncmp(item, CLI_SHOW_LIST, sizeof(CLI_SHOW_LIST) - 1)) {
- main_show_pxe(hardware);
+ main_show_pxe(0, NULL, hardware);
return;
}
show_pxe_help();