summaryrefslogtreecommitdiffstats
path: root/src/hci/commands
diff options
context:
space:
mode:
authorMichael Brown2007-01-12 09:59:25 +0100
committerMichael Brown2007-01-12 09:59:25 +0100
commit83559c668a824bc4f4eddcc08ee4245f37b2eccb (patch)
tree46242818c5cc3465394e7bc7dbab5ce0cc937981 /src/hci/commands
parentRearrange struct image to reflect usage of the fields (diff)
downloadipxe-83559c668a824bc4f4eddcc08ee4245f37b2eccb.tar.gz
ipxe-83559c668a824bc4f4eddcc08ee4245f37b2eccb.tar.xz
ipxe-83559c668a824bc4f4eddcc08ee4245f37b2eccb.zip
Don't print "<NULL>" when we use imgautoselect().
Diffstat (limited to 'src/hci/commands')
-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 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;
}