aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/hdt/hdt-cli-pxe.c2
-rw-r--r--com32/hdt/hdt-cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-pxe.c b/com32/hdt/hdt-cli-pxe.c
index c88d4449..2ad6981a 100644
--- a/com32/hdt/hdt-cli-pxe.c
+++ b/com32/hdt/hdt-cli-pxe.c
@@ -38,7 +38,7 @@
void main_show_pxe(struct s_hardware *hardware,struct s_cli_mode *cli_mode) {
char buffer[81];
memset(buffer,0,sizeof(81));
- if (hardware->sv->filesystem == SYSLINUX_FS_PXELINUX) {
+ if (hardware->sv->filesystem != SYSLINUX_FS_PXELINUX) {
more_printf("You are not currently using PXELINUX\n");
return;
}
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 5b1da6f5..3f714858 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -45,7 +45,7 @@ void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, struct s_hardware *h
break;
case PXE_MODE:
- if (hardware->sv->filesystem == SYSLINUX_FS_PXELINUX) {
+ if (hardware->sv->filesystem != SYSLINUX_FS_PXELINUX) {
more_printf("You are not currently using PXELINUX\n");
break;
}