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/core/automount.c | |
parent | f26c38edfa8bb74cd7fb54bd7ab268f3013bd150 (diff) | |
download | systemd-19ee48a6c29a03f6475689667b5c625a41589e72.tar.gz |
tree-wide: introduce PIPE_EBADF macro
Diffstat (limited to 'src/core/automount.c')
-rw-r--r-- | src/core/automount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c index 361034d7f4..4cffca419c 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -573,7 +573,7 @@ static void automount_trigger_notify(Unit *u, Unit *other) { static void automount_enter_waiting(Automount *a) { _cleanup_close_ int ioctl_fd = -EBADF; - int pipe_fd[2] = { -EBADF, -EBADF }; + int pipe_fd[2] = PIPE_EBADF; char name[STRLEN("systemd-") + DECIMAL_STR_MAX(pid_t) + 1]; _cleanup_free_ char *options = NULL; bool mounted = false; |