From: Michael Brown Date: Thu, 2 Aug 2007 19:27:50 +0000 (+0100) Subject: Error message cleanups. X-Git-Tag: v0.9.3~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710c6c1be1ca195b9ba1d152183676169f76685c;p=thirdparty%2Fipxe.git Error message cleanups. --- diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c index 1551318c7..44689dd2b 100644 --- a/src/hci/commands/image_cmd.c +++ b/src/hci/commands/image_cmd.c @@ -167,7 +167,8 @@ static int imgfetch_core_exec ( struct image_type *image_type, return -EINVAL; } if ( ( rc = imgfetch ( image, filename, image_register ) ) != 0 ) { - printf ( "Could not fetch %s: %s\n", name, strerror ( rc ) ); + printf ( "Could not fetch %s: %s\n", + filename, strerror ( rc ) ); image_put ( image ); return rc; } diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index b5f4e9b22..2afe596eb 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -62,7 +62,7 @@ static int boot_filename ( const char *filename ) { } if ( ( rc = imgfetch ( image, filename, register_and_autoexec_image ) ) != 0 ) { - printf ( "Could not retrieve %s: %s\n", + printf ( "Could not boot %s: %s\n", filename, strerror ( rc ) ); image_put ( image ); return rc;