aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/i386/prefix/pxeprefix.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/i386/prefix/pxeprefix.S b/src/arch/i386/prefix/pxeprefix.S
index 3c851dc..05db989 100644
--- a/src/arch/i386/prefix/pxeprefix.S
+++ b/src/arch/i386/prefix/pxeprefix.S
@@ -396,10 +396,8 @@ get_cmdline:
movw $0xffff, ( pxe_parameter_structure + 0x02 )
movw $PXENV_FILE_CMDLINE, %bx
call pxe_call
- jnc 1f
- call print_pxe_error
- jmp 99f
-1: /* Check for non-NULL command line */
+ jc 99f /* Suppress errors; this is an iPXE extension API call */
+ /* Check for non-NULL command line */
movw ( pxe_parameter_structure + 0x02 ), %ax
testw %ax, %ax
jz 99f