summaryrefslogtreecommitdiffstats
path: root/src/import
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-02 22:19:16 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-06-03 08:18:13 +0200
commitaf21385e762aa7faa3bb41451cd66e323c77be6e (patch)
tree69a366563b9c4b294d0d0b91a51ba70ccd63bb14 /src/import
parentrepart: Fix unused variable warning (diff)
downloadsystemd-af21385e762aa7faa3bb41451cd66e323c77be6e.tar.xz
systemd-af21385e762aa7faa3bb41451cd66e323c77be6e.zip
importctl: Fix 0 flags argument in sd_bus_message_append()
Diffstat (limited to 'src/import')
-rw-r--r--src/import/importctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/importctl.c b/src/import/importctl.c
index 15c517c2de..f939d80815 100644
--- a/src/import/importctl.c
+++ b/src/import/importctl.c
@@ -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);