summaryrefslogtreecommitdiffstats
path: root/src/fsck/fsck.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-20 02:10:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-20 03:12:58 +0100
commit19ee48a6c29a03f6475689667b5c625a41589e72 (patch)
tree50ce8e0ca4bc9afaf8b89f5399473350203b898b /src/fsck/fsck.c
parentfuzz: sort headers (diff)
downloadsystemd-19ee48a6c29a03f6475689667b5c625a41589e72.tar.xz
systemd-19ee48a6c29a03f6475689667b5c625a41589e72.zip
tree-wide: introduce PIPE_EBADF macro
Diffstat (limited to 'src/fsck/fsck.c')
-rw-r--r--src/fsck/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index 29265d9220..37fdfa540f 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -241,7 +241,7 @@ static int fsck_progress_socket(void) {
}
static int run(int argc, char *argv[]) {
- _cleanup_close_pair_ int progress_pipe[2] = { -EBADF, -EBADF };
+ _cleanup_close_pair_ int progress_pipe[2] = PIPE_EBADF;
_cleanup_(sd_device_unrefp) sd_device *dev = NULL;
_cleanup_free_ char *dpath = NULL;
_cleanup_fclose_ FILE *console = NULL;