Changeset eb522e8 in mainline for uspace/app/nettest2/nettest2.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest2/nettest2.c
r9e2e715 reb522e8 302 302 /* Check data buffer size. */ 303 303 if (size <= 0) { 304 fprintf(stderr, "Data buffer size too small (% d). Using 1024 "304 fprintf(stderr, "Data buffer size too small (%zu). Using 1024 " 305 305 "bytes instead.\n", size); 306 306 size = 1024; … … 336 336 return ENOMEM; 337 337 } 338 socket_ids[sockets] = NULL;338 socket_ids[sockets] = 0; 339 339 340 340 if (verbose) … … 375 375 printf("\tOK\n"); 376 376 377 printf("sendto + recvfrom tested in % d microseconds\n",377 printf("sendto + recvfrom tested in %ld 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 % d microseconds\n",405 printf("sendto, recvfrom tested in %ld microseconds\n", 406 406 tv_sub(&time_after, &time_before)); 407 407
Note:
See TracChangeset
for help on using the changeset viewer.