Changes in uspace/app/nettest1/nettest1.c [c9ebbe71:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest1.c
rc9ebbe71 r7e752b2 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.