]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/fsck/fsck.c
tree-wide: use -EBADF also in pipe initializers
[thirdparty/systemd.git] / src / fsck / fsck.c
index f5c0732cf5981beb41972cb46efe64e0fb923f01..29265d9220ed09dc398f363f1b3852e2238b7952 100644 (file)
@@ -241,7 +241,7 @@ static int fsck_progress_socket(void) {
 }
 
 static int run(int argc, char *argv[]) {
-        _cleanup_close_pair_ int progress_pipe[2] = { -1, -1 };
+        _cleanup_close_pair_ int progress_pipe[2] = { -EBADF, -EBADF };
         _cleanup_(sd_device_unrefp) sd_device *dev = NULL;
         _cleanup_free_ char *dpath = NULL;
         _cleanup_fclose_ FILE *console = NULL;