Changeset eb522e8 in mainline for uspace/app/nettest1/nettest1.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/nettest1/nettest1.c
r9e2e715 reb522e8 356 356 /* Check data buffer size */ 357 357 if (size <= 0) { 358 fprintf(stderr, "Data buffer size too small (% d). Using 1024 "358 fprintf(stderr, "Data buffer size too small (%zu). Using 1024 " 359 359 "bytes instead.\n", size); 360 360 size = 1024; … … 388 388 return ENOMEM; 389 389 } 390 socket_ids[sockets] = NULL;390 socket_ids[sockets] = 0; 391 391 392 392 if (verbose) … … 410 410 } 411 411 412 printf("Tested in % d microseconds\n", tv_sub(&time_after,412 printf("Tested in %ld microseconds\n", tv_sub(&time_after, 413 413 &time_before)); 414 414
Note:
See TracChangeset
for help on using the changeset viewer.