summaryrefslogtreecommitdiff
path: root/testprogs/selpolltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/selpolltest.c')
-rw-r--r--testprogs/selpolltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/selpolltest.c b/testprogs/selpolltest.c
index 569c8294..ab7f8f46 100644
--- a/testprogs/selpolltest.c
+++ b/testprogs/selpolltest.c
@@ -74,7 +74,7 @@ main(int argc, char **argv)
struct bpf_program fcode;
char ebuf[PCAP_ERRBUF_SIZE];
pcap_if_t *devlist;
- int selectable_fd;
+ int selectable_fd = -1;
const struct timeval *required_timeout;
int status;
int packet_count;