Commit fd72e27d authored by Pavel Emelyanov's avatar Pavel Emelyanov

inventory: Show this image with standard pb showers

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5730f817
......@@ -68,13 +68,7 @@ int write_img_inventory(void)
static void show_inventory(int fd, struct cr_options *o)
{
InventoryEntry *he;
if (pb_read_one(fd, &he, PB_INVENTORY) < 0)
return;
pr_msg("Version: %u\n", he->img_version);
inventory_entry__free_unpacked(he, NULL);
pb_show_vertical(fd, PB_INVENTORY);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment