Skip to content

Commit

Permalink
Fix another compilation issue on OS X. Fixes GNS3#45.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Sep 28, 2017
1 parent f98696d commit 53ac2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nio_tap.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static int nio_tap_open(char *tap_devname)
char tap_fullname[NIO_DEV_MAXLEN];

if (*tap_devname) {
snprintf(tap_fullname,NETIO_DEV_MAXLEN, "/dev/%s", tap_devname);
snprintf(tap_fullname, NIO_DEV_MAXLEN, "/dev/%s", tap_devname);
fd = open(tap_fullname, O_RDWR);
} else {
for(i = 0; i < 16; i++) {
Expand Down

0 comments on commit 53ac2e8

Please sign in to comment.