From 67e824b539cad5920d159b7cf3b1ae8f81722edd Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 8 Jan 2007 03:42:19 +0000 Subject: [PATCH] Neaten up debug messages --- src/arch/i386/drivers/net/undiload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arch/i386/drivers/net/undiload.c b/src/arch/i386/drivers/net/undiload.c index e519442d..3f0b392d 100644 --- a/src/arch/i386/drivers/net/undiload.c +++ b/src/arch/i386/drivers/net/undiload.c @@ -132,7 +132,7 @@ static int undi_load ( struct undi_device *undi, struct undi_rom *undirom ) { fbms = ( fbms_seg >> 6 ); put_real ( fbms, BDA_SEG, BDA_FBMS ); undi->fbms = fbms; - DBGC ( undi, "UNDI %p using %dkB-%dkB\n", + DBGC ( undi, "UNDI %p using [%d,%d) kB of base memory\n", undi, undi->fbms, undi->restore_fbms ); return 0; @@ -176,13 +176,13 @@ int undi_unload ( struct undi_device *undi ) { /* Free base memory, if possible */ get_real ( fbms, BDA_SEG, BDA_FBMS ); if ( fbms == undi->fbms ) { - DBGC ( undi, "UNDI %p freeing %dkB-%dkB\n", + DBGC ( undi, "UNDI %p freeing [%d,%d) kB of base memory\n", undi, undi->fbms, undi->restore_fbms ); fbms = undi->restore_fbms; put_real ( fbms, BDA_SEG, BDA_FBMS ); return 0; } else { - DBGC ( undi, "UNDI %p leaking %dkB-%dkB\n", + DBGC ( undi, "UNDI %p leaking [%d,%d) kB of base memory\n", undi, undi->fbms, undi->restore_fbms ); return -EBUSY; }