]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/fuzz-lldp-rx.c
tree-wide: introduce PIPE_EBADF macro
[thirdparty/systemd.git] / src / libsystemd-network / fuzz-lldp-rx.c
index 00a98bbeb0ec97b85aef356e903f60b790043797..2d8e201854024879c76ccd600caf606de3929219 100644 (file)
@@ -10,7 +10,7 @@
 #include "fuzz.h"
 #include "lldp-network.h"
 
-static int test_fd[2] = { -EBADF, -EBADF };
+static int test_fd[2] = PIPE_EBADF;
 
 int lldp_network_bind_raw_socket(int ifindex) {
         if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, test_fd) < 0)