Changes in uspace/app/nettest2/nettest2.c [7e752b2:c9ebbe71] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest2/nettest2.c
r7e752b2 rc9ebbe71 302 302 /* Check data buffer size. */ 303 303 if (size <= 0) { 304 fprintf(stderr, "Data buffer size too small (% zu). Using 1024 "304 fprintf(stderr, "Data buffer size too small (%d). Using 1024 " 305 305 "bytes instead.\n", size); 306 306 size = 1024; … … 336 336 return ENOMEM; 337 337 } 338 socket_ids[sockets] = 0;338 socket_ids[sockets] = NULL; 339 339 340 340 if (verbose) … … 375 375 printf("\tOK\n"); 376 376 377 printf("sendto + recvfrom tested in % ld microseconds\n",377 printf("sendto + recvfrom tested in %d microseconds\n", 378 378 tv_sub(&time_after, &time_before)); 379 379 … … 403 403 printf("\tOK\n"); 404 404 405 printf("sendto, recvfrom tested in % ld microseconds\n",405 printf("sendto, recvfrom tested in %d microseconds\n", 406 406 tv_sub(&time_after, &time_before)); 407 407
Note:
See TracChangeset
for help on using the changeset viewer.