david/ipxe
Archived
1
0

Error message cleanups.

This commit is contained in:
Michael Brown 2007-08-02 20:27:50 +01:00
parent 1ae40765a6
commit 710c6c1be1
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;