1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-01-11 23:52:54 +00:00

Fix call to memset (discovered due to compiler warning from Travis)

This commit is contained in:
Olaf Seibert 2017-05-14 13:39:48 +02:00
parent 87a3ea05c3
commit 4690de5b02

View File

@ -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