diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-05-01 17:55:05 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-05-01 17:55:05 +0000 |
| commit | 482cb52dcb3ec8687383a48dc725a6a5fb41eeff (patch) | |
| tree | 340c86b3e759bca3fcf395e0281f6488d67d0447 /sys/boot | |
| parent | 801e789e01eae994cafa8952ee477207fa4b5b0c (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/i386/libi386/pxe.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/boot/i386/libi386/pxe.c b/sys/boot/i386/libi386/pxe.c index 44bb7533a80ce..d6737c236b1db 100644 --- a/sys/boot/i386/libi386/pxe.c +++ b/sys/boot/i386/libi386/pxe.c @@ -361,14 +361,20 @@ pxe_cleanup(void) return; pxe_call(PXENV_UNDI_SHUTDOWN); - if (undi_shutdown_p->Status != 0) + +#ifdef PXE_DEBUG + if (debug && undi_shutdown_p->Status != 0) printf("pxe_cleanup: UNDI_SHUTDOWN failed %x\n", - undi_shutdown_p->Status); + undi_shutdown_p->Status); +#endif pxe_call(PXENV_UNLOAD_STACK); - if (unload_stack_p->Status != 0) + +#ifdef PXE_DEBUG + if (debug && unload_stack_p->Status != 0) printf("pxe_cleanup: UNLOAD_STACK failed %x\n", unload_stack_p->Status); +#endif } void |
