summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/test-lldp-rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/test-lldp-rx.c')
-rw-r--r--src/libsystemd-network/test-lldp-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-lldp-rx.c b/src/libsystemd-network/test-lldp-rx.c
index 11049a85b9..7ec1ab1ee9 100644
--- a/src/libsystemd-network/test-lldp-rx.c
+++ b/src/libsystemd-network/test-lldp-rx.c
@@ -20,7 +20,7 @@
#define TEST_LLDP_TYPE_SYSTEM_NAME "systemd-lldp"
#define TEST_LLDP_TYPE_SYSTEM_DESC "systemd-lldp-desc"
-static int test_fd[2] = { -1, -1 };
+static int test_fd[2] = { -EBADF, -EBADF };
static int lldp_rx_handler_calls;
int lldp_network_bind_raw_socket(int ifindex) {