summaryrefslogtreecommitdiffstats
path: root/src/test/test-varlink.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/test/test-varlink.c
parentfuzz: sort headers (diff)
downloadsystemd-19ee48a6c29a03f6475689667b5c625a41589e72.tar.xz
systemd-19ee48a6c29a03f6475689667b5c625a41589e72.zip
tree-wide: introduce PIPE_EBADF macro
Diffstat (limited to 'src/test/test-varlink.c')
-rw-r--r--src/test/test-varlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-varlink.c b/src/test/test-varlink.c
index 5811259183..e961887fec 100644
--- a/src/test/test-varlink.c
+++ b/src/test/test-varlink.c
@@ -191,7 +191,7 @@ int main(int argc, char *argv[]) {
_cleanup_(rm_rf_physical_and_freep) char *tmpdir = NULL;
_cleanup_(json_variant_unrefp) JsonVariant *v = NULL;
_cleanup_(sd_event_unrefp) sd_event *e = NULL;
- _cleanup_(close_pairp) int block_fds[2] = { -EBADF, -EBADF };
+ _cleanup_(close_pairp) int block_fds[2] = PIPE_EBADF;
pthread_t t;
const char *sp;