diff options
author | erwan <erwan@laptopR1.(none)> | 2009-03-09 16:24:15 +0100 |
---|---|---|
committer | erwan <erwan@laptopR1.(none)> | 2009-03-09 16:24:15 +0100 |
commit | 5b7f5086de1c52348434f88812c0c78a698c4e36 (patch) | |
tree | d698cb12e839b863c24f3f3068ecc0fe1d87ecd4 | |
parent | f2971640d17bf94408baf3d859f511461222f221 (diff) | |
download | syslinux.git-5b7f5086de1c52348434f88812c0c78a698c4e36.tar.gz syslinux.git-5b7f5086de1c52348434f88812c0c78a698c4e36.tar.xz syslinux.git-5b7f5086de1c52348434f88812c0c78a698c4e36.zip |
hdt: fixing wrong PXELINUX checks
Tests were inverted :(
-rw-r--r-- | com32/hdt/hdt-cli-pxe.c | 2 | ||||
-rw-r--r-- | com32/hdt/hdt-cli.c | 2 |
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; } |