tree-wide: initialize fds with -EBADF

This commit is contained in:
David Tardon
2023-02-23 09:48:54 +01:00
parent 1912f790fe
commit 92651a7a2d
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -705,7 +705,7 @@ int chase_symlinks_and_unlink(
char **ret_path) {
_cleanup_free_ char *p = NULL, *rp = NULL, *dir = NULL, *fname = NULL;
_cleanup_close_ int fd = -1;
_cleanup_close_ int fd = -EBADF;
int r;
assert(path);