diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-01-11 16:20:05 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-01-11 16:20:05 +0000 |
commit | 07e14bfb8ae3172182b66d6a04f91a3c9d56af68 (patch) | |
tree | 4a4302a71e90c216184447ba0a7882f98355e391 /src/arch/i386 | |
parent | 7c6858e95df1e0b654286049c15a4a48982ef8af (diff) | |
download | ipxe-07e14bfb8ae3172182b66d6a04f91a3c9d56af68.tar.gz |
[pxe] Colourise debug output
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/interface/pxe/pxe_call.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c index 0b67880c7..7da4d7605 100644 --- a/src/arch/i386/interface/pxe/pxe_call.c +++ b/src/arch/i386/interface/pxe/pxe_call.c @@ -307,8 +307,8 @@ int pxe_deactivate ( void ) { if ( ( rc = unhook_bios_interrupt ( 0x1a, (unsigned int) pxe_int_1a, &pxe_int_1a_vector ))!= 0){ - DBG ( "Could not unhook INT 1A: %s\n", - strerror ( rc ) ); + DBGC ( &pxe_netdev, "PXE could not unhook INT 1A: %s\n", + strerror ( rc ) ); return rc; } devices_put(); @@ -334,7 +334,7 @@ int pxe_start_nbp ( void ) { /* Allow restarting NBP via PXENV_RESTART_TFTP */ jmp = rmsetjmp ( pxe_restart_nbp ); if ( jmp ) - DBG ( "Restarting NBP (%x)\n", jmp ); + DBGC ( &pxe_netdev, "PXE NBP restarting (%x)\n", jmp ); /* Far call to PXE NBP */ __asm__ __volatile__ ( REAL_CODE ( "pushl %%ebp\n\t" /* gcc bug */ |