Don't print "<NULL>" when we use imgautoselect().

pull/1/head
Michael Brown 2007-01-12 08:59:25 +00:00
parent 2be2f3b205
commit 83559c668a
1 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,8 @@ static int imgexec_exec ( int argc, char **argv ) {
}
if ( ( rc = imgexec ( image ) ) != 0 ) {
printf ( "Could not execute %s: %s\n", name, strerror ( rc ) );
printf ( "Could not execute %s: %s\n",
image->name, strerror ( rc ) );
return 1;
}