Browse Source

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

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
83559c668a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/hci/commands/image_cmd.c

+ 2
- 1
src/hci/commands/image_cmd.c View File

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

Loading…
Cancel
Save