mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
importctl: Fix 0 flags argument in sd_bus_message_append()
This commit is contained in:
committed by
Yu Watanabe
parent
1d877271c4
commit
af21385e76
@@ -545,7 +545,7 @@ static int export_tar(int argc, char *argv[], void *userdata) {
|
||||
image_class_to_string(arg_image_class),
|
||||
fd >= 0 ? fd : STDOUT_FILENO,
|
||||
arg_format,
|
||||
/* flags= */ 0);
|
||||
/* flags= */ UINT64_C(0));
|
||||
}
|
||||
if (r < 0)
|
||||
return bus_log_create_error(r);
|
||||
@@ -604,7 +604,7 @@ static int export_raw(int argc, char *argv[], void *userdata) {
|
||||
image_class_to_string(arg_image_class),
|
||||
fd >= 0 ? fd : STDOUT_FILENO,
|
||||
arg_format,
|
||||
/* flags= */ 0);
|
||||
/* flags= */ UINT64_C(0));
|
||||
}
|
||||
if (r < 0)
|
||||
return bus_log_create_error(r);
|
||||
|
||||
Reference in New Issue
Block a user