diff options
Diffstat (limited to 'src/import/import-fs.c')
-rw-r--r-- | src/import/import-fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/import-fs.c b/src/import/import-fs.c index ca5d33c008..d81dd13ffd 100644 --- a/src/import/import-fs.c +++ b/src/import/import-fs.c @@ -100,7 +100,7 @@ static int import_fs(int argc, char *argv[], void *userdata) { _cleanup_(progress_info_free) ProgressInfo progress = {}; _cleanup_free_ char *l = NULL, *final_path = NULL; const char *path = NULL, *local = NULL, *dest = NULL; - _cleanup_close_ int open_fd = -1; + _cleanup_close_ int open_fd = -EBADF; int r, fd; if (argc >= 2) |