From 4690de5b02cc6625cf7afb8283534f7f7f6f48c1 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Sun, 14 May 2017 13:39:48 +0200 Subject: [PATCH] Fix call to memset (discovered due to compiler warning from Travis) --- src/osdnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdnet.c b/src/osdnet.c index 81a0b89..a8b27a6 100644 --- a/src/osdnet.c +++ b/src/osdnet.c @@ -185,7 +185,7 @@ osn_iftab_init(void) struct ifent *ife; /* Start out with empty table */ - memset(&iftab[0], sizeof(iftab), 0); + memset(&iftab[0], 0, sizeof(iftab)); iftab_nifs = 0; #if HAVE_GETIFADDRS