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