From d6010533dfc5cf2691f671186c8c0033569572ee Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Fri, 29 Nov 2024 19:35:12 +0100 Subject: [PATCH] sd-bus/bus-creds: use proper NULL instead of 0 --- src/libsystemd/sd-bus/bus-creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/sd-bus/bus-creds.c index 4a4f4f882f5..efdca5d456c 100644 --- a/src/libsystemd/sd-bus/bus-creds.c +++ b/src/libsystemd/sd-bus/bus-creds.c @@ -1398,7 +1398,7 @@ int bus_creds_extend_by_pid(sd_bus_creds *c, uint64_t mask, sd_bus_creds **ret) /* Get more data */ - r = bus_creds_add_more(n, mask, 0, 0); + r = bus_creds_add_more(n, mask, /* pidref = */ NULL, /* tid = */ 0); if (r < 0) return r;