1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-09 01:18:19 +03:00

sd-bus/bus-creds: use proper NULL instead of 0

This commit is contained in:
Mike Yuan 2024-11-29 19:35:12 +01:00
parent 77b40b4f60
commit d6010533df
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -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;