diff options
Diffstat (limited to 'src/import/export.c')
-rw-r--r-- | src/import/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/export.c b/src/import/export.c index 690e194453..84609cbe12 100644 --- a/src/import/export.c +++ b/src/import/export.c @@ -63,7 +63,7 @@ static int export_tar(int argc, char *argv[], void *userdata) { _cleanup_(sd_event_unrefp) sd_event *event = NULL; _cleanup_(image_unrefp) Image *image = NULL; const char *path = NULL, *local = NULL; - _cleanup_close_ int open_fd = -1; + _cleanup_close_ int open_fd = -EBADF; int r, fd; if (hostname_is_valid(argv[1], 0)) { @@ -139,7 +139,7 @@ static int export_raw(int argc, char *argv[], void *userdata) { _cleanup_(sd_event_unrefp) sd_event *event = NULL; _cleanup_(image_unrefp) Image *image = NULL; const char *path = NULL, *local = NULL; - _cleanup_close_ int open_fd = -1; + _cleanup_close_ int open_fd = -EBADF; int r, fd; if (hostname_is_valid(argv[1], 0)) { |