summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/fuzz-lldp-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/fuzz-lldp-rx.c')
-rw-r--r--src/libsystemd-network/fuzz-lldp-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/fuzz-lldp-rx.c b/src/libsystemd-network/fuzz-lldp-rx.c
index 00a98bbeb0..2d8e201854 100644
--- a/src/libsystemd-network/fuzz-lldp-rx.c
+++ b/src/libsystemd-network/fuzz-lldp-rx.c
@@ -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)