1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-12-22 18:00:49 +01:00

Make sure toc printers and IDs are propperly assigned

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-02-04 15:12:06 +01:00
parent 8754729cb1
commit 618aaf4278

View file

@ -87,9 +87,9 @@ static int print_initrd(image_entry_t *ent, const char *root)
}
static print_fun_t printers[] = {
print_pretty,
print_sqfs,
print_initrd,
[TOC_FORMAT_PRETTY] = print_pretty,
[TOC_FORMAT_SQFS] = print_sqfs,
[TOC_FORMAT_INITRD] = print_initrd,
};
int dump_toc(image_entry_t *list, const char *root, TOC_FORMAT format)