From 83559c668a824bc4f4eddcc08ee4245f37b2eccb Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 08:59:25 +0000 Subject: [PATCH] Don't print "" when we use imgautoselect(). --- src/hci/commands/image_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c index 8055f686..c40d42a9 100644 --- a/src/hci/commands/image_cmd.c +++ b/src/hci/commands/image_cmd.c @@ -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; }