diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-19 10:18:40 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-19 10:18:40 (EDT) |
commit | 25978e5d7ffe57a9d05f0693ca7e8bd3c4cbbfd2 (patch) | |
tree | 9d27e1c76b83a911036ffec9bb5df34be9d6f322 | |
parent | 0e3b97a9d7b6ae77b98efee57cf9119d684f2be9 (diff) |
opk: Initialize seek_name.found
-rw-r--r-- | src/opk.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -90,8 +90,9 @@ opkg_opk_opk_init_outer(const char *file_name) } /* Check package version. */ - seek_name.name = "debian-binary"; - seek_name.next = NULL; + seek_name.name = "debian-binary"; + seek_name.found = 0; + seek_name.next = NULL; if (opkg_opk_ustar_seek(opk->outer_ustar, &seek_name) == OPKG_OPK_ERROR) { fputs("Error: Failed to find \"debian-binary\" in archive\n", |