1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-04 17:47:03 +03:00

machined: sd-bus expects 'int', not 'bool' when returning unmarshalled booleans

Fixes: #22555
Follow-up for: #22160
This commit is contained in:
Lennart Poettering 2022-02-18 13:06:18 +01:00
parent 4901ec1ebb
commit 2e1ae3258d

View File

@ -227,8 +227,7 @@ int bus_image_method_mark_read_only(
Image *image = userdata;
Manager *m = image->userdata;
bool read_only;
int r;
int read_only, r;
assert(message);