summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hci/commands/image_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c
index 8055f686f..c40d42a98 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;
}