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:08:27 +01:00
parent 4901ec1ebb
commit 2e1ae3258d
+1 -2
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);