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 Dec 18, 2018
1 parent ae02311 commit 47385a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libnozzle/libnozzle.c
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 47385a4

Please sign in to comment.