Skip to content

Commit

Permalink
Fix call to memset (discovered due to compiler warning from Travis)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhialto committed May 14, 2017
1 parent 87a3ea0 commit 4690de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4690de5

Please sign in to comment.