Skip to content

Commit

Permalink
[nozzle] fix test 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 Jan 19, 2018
1 parent 2779991 commit fb8b3b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libnozzle/libnozzle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1335,10 +1335,10 @@ static int check_nozzle_open_close(void)
}
#endif
#ifdef KNET_BSD
printf("Creating nozzle%u nozzle interface:\n", randombyte);
snprintf(device_name, IFNAMSIZ, "nozzle%u", randombyte);
printf("Creating tap%u nozzle interface:\n", randombyte);
snprintf(device_name, IFNAMSIZ, "tap%u", randombyte);
if (test_iface(device_name, size, NULL) < 0) {
printf("Unable to create nozzle%u interface\n", randombyte);
printf("Unable to create tap%u interface\n", randombyte);
return -1;
}

Expand Down

0 comments on commit fb8b3b8

Please sign in to comment.