Skip to content

Commit

Permalink
[build] fix build on BSD
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Apr 19, 2018
1 parent 3396a37 commit 70805f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnozzle/libnozzle.c
Expand Up @@ -230,7 +230,7 @@ static void _close(nozzle_t nozzle)

#ifdef KNET_BSD
memset(&ifr, 0, sizeof(struct ifreq));
strncpy(nozzle->ifname, nozzle->name, IFNAMSIZ);
strncpy(ifname, nozzle->name, IFNAMSIZ);

ioctl(lib_cfg.ioctlfd, SIOCIFDESTROY, &ifr);
#endif
Expand Down

0 comments on commit 70805f2

Please sign in to comment.