summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 12:08:26 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 16:31:32 +0100
commit12e2b70f9b849e54018f147b8a11154cd5e2dcf6 (patch)
tree6f887f1589d85f1da57bd81b8e06d5fa3982a4e1 /src/machine
parent5ea173a91b2093664a9ebb9add678edd6f5d1efd (diff)
downloadsystemd-12e2b70f9b849e54018f147b8a11154cd5e2dcf6.tar.gz
nulstr-util: Declare NULSTR_FOREACH() iterator inline
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index af0f5d8612..93761a1da9 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -98,7 +98,7 @@ static OutputFlags get_output_flags(void) {
static int call_get_os_release(sd_bus *bus, const char *method, const char *name, const char *query, ...) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
- const char *k, *v, *iter, **query_res = NULL;
+ const char *k, *v, **query_res = NULL;
size_t count = 0, awaited_args = 0;
va_list ap;
int r;