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
 		return -EINVAL;
167
 		return -EINVAL;
168
 	}
168
 	}
169
 	if ( ( rc = imgfetch ( image, filename, image_register ) ) != 0 ) {
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
 		image_put ( image );
172
 		image_put ( image );
172
 		return rc;
173
 		return rc;
173
 	}
174
 	}

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

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

Loading…
Cancel
Save