diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 10:10:19 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-20 11:12:58 +0900 |
commit | 19ee48a6c29a03f6475689667b5c625a41589e72 (patch) | |
tree | 50ce8e0ca4bc9afaf8b89f5399473350203b898b /src/fsck | |
parent | f26c38edfa8bb74cd7fb54bd7ab268f3013bd150 (diff) | |
download | systemd-19ee48a6c29a03f6475689667b5c625a41589e72.tar.gz |
tree-wide: introduce PIPE_EBADF macro
Diffstat (limited to 'src/fsck')
-rw-r--r-- | src/fsck/fsck.c | 2 |
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; |