From 5da5365d3caeba421331132518abb0abb78ff20e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 10 Aug 2017 13:22:01 +0200 Subject: rpm,rpm2cpio: INIT_G() was missing (it is a nop here so far) Signed-off-by: Denys Vlasenko --- archival/rpm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archival') diff --git a/archival/rpm.c b/archival/rpm.c index cca17da33..c24cfdf41 100644 --- a/archival/rpm.c +++ b/archival/rpm.c @@ -353,6 +353,7 @@ int rpm_main(int argc, char **argv) { int opt, func = 0; + INIT_G(); G.pagesize = getpagesize(); while ((opt = getopt(argc, argv, "iqpldc")) != -1) { @@ -515,6 +516,7 @@ int rpm2cpio_main(int argc UNUSED_PARAM, char **argv) const char *str; int rpm_fd; + INIT_G(); G.pagesize = getpagesize(); rpm_fd = rpm_gettags(argv[1]); -- cgit v1.2.3