mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-05 19:15:05 +00:00
Error message cleanups.
This commit is contained in:
parent
1ae40765a6
commit
710c6c1be1
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user