!15 bim->image_name is null ,so should use image_name
Merge pull request !15 from dingwei/master
This commit is contained in:
commit
50fd018347
@ -239,7 +239,7 @@ static struct bim *bim_get(const char *image_type, const char *image_name, const
|
||||
if (image_name != NULL) {
|
||||
bim->image_name = bim->ops->resolve_image_name(image_name);
|
||||
if (bim->image_name == NULL) {
|
||||
lcrd_append_error_message("Failed to resovle image name%s", bim->image_name);
|
||||
lcrd_append_error_message("Failed to resovle image name%s", image_name);
|
||||
bim_put(bim);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user