Browse Source

Error message cleanups.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
710c6c1be1
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      src/hci/commands/image_cmd.c
  2. 1
    1
      src/usr/autoboot.c

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

@@ -167,7 +167,8 @@ static int imgfetch_core_exec ( struct image_type *image_type,
167 167
 		return -EINVAL;
168 168
 	}
169 169
 	if ( ( rc = imgfetch ( image, filename, image_register ) ) != 0 ) {
170
-		printf ( "Could not fetch %s: %s\n", name, strerror ( rc ) );
170
+		printf ( "Could not fetch %s: %s\n",
171
+			 filename, strerror ( rc ) );
171 172
 		image_put ( image );
172 173
 		return rc;
173 174
 	}

+ 1
- 1
src/usr/autoboot.c View File

@@ -62,7 +62,7 @@ static int boot_filename ( const char *filename ) {
62 62
 	}
63 63
 	if ( ( rc = imgfetch ( image, filename,
64 64
 			       register_and_autoexec_image ) ) != 0 ) {
65
-		printf ( "Could not retrieve %s: %s\n",
65
+		printf ( "Could not boot %s: %s\n",
66 66
 			 filename, strerror ( rc ) );
67 67
 		image_put ( image );
68 68
 		return rc;

Loading…
Cancel
Save