summaryrefslogtreecommitdiffstats
path: root/src/hci
diff options
context:
space:
mode:
authorMichael Brown2007-08-02 21:27:50 +0200
committerMichael Brown2007-08-02 21:27:50 +0200
commit710c6c1be1ca195b9ba1d152183676169f76685c (patch)
tree153273c1f13fb9e0c2d28c45ab29976703f45d9c /src/hci
parentSet current working URI equal to script URI during script execution. (diff)
downloadipxe-710c6c1be1ca195b9ba1d152183676169f76685c.tar.gz
ipxe-710c6c1be1ca195b9ba1d152183676169f76685c.tar.xz
ipxe-710c6c1be1ca195b9ba1d152183676169f76685c.zip
Error message cleanups.
Diffstat (limited to 'src/hci')
-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 1551318c7..44689dd2b 100644
--- a/src/hci/commands/image_cmd.c
+++ b/src/hci/commands/image_cmd.c
@@ -167,7 +167,8 @@ static int imgfetch_core_exec ( struct image_type *image_type,
return -EINVAL;
}
if ( ( rc = imgfetch ( image, filename, image_register ) ) != 0 ) {
- printf ( "Could not fetch %s: %s\n", name, strerror ( rc ) );
+ printf ( "Could not fetch %s: %s\n",
+ filename, strerror ( rc ) );
image_put ( image );
return rc;
}