From 15ecdb73ce5cda54f824e5a63ee8e801bf16a996 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 15 Sep 2025 16:00:35 +0200 Subject: Fix types in check_apt --- plugins/check_apt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/check_apt.c b/plugins/check_apt.c index e840184b..ab66a8d2 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c @@ -310,8 +310,8 @@ run_upgrade_result run_upgrade(const upgrade_type upgrade, const char *do_includ die(STATE_UNKNOWN, _("%s: Error compiling regexp: %s"), progname, rerrbuf); } - struct output chld_out; - struct output chld_err; + output chld_out; + output chld_err; char *cmdline = NULL; cmdline = construct_cmdline(upgrade, upgrade_opts); if (input_filename != NULL) { @@ -410,8 +410,8 @@ int run_update(char *update_opts) { /* run the update */ cmdline = construct_cmdline(NO_UPGRADE, update_opts); - struct output chld_out; - struct output chld_err; + output chld_out; + output chld_err; result = np_runcmd(cmdline, &chld_out, &chld_err, 0); /* apt-get update changes exit status if it can't fetch packages. * since we were explicitly asked to do so, this is treated as -- cgit v1.2.3-74-g34f1