Changeset 7e752b2 in mainline for uspace/app/nettest2/nettest2.c


Ignore:
Timestamp:
2010-11-26T01:33:20Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf61d3a
Parents:
202f57b
Message:
  • correct printf() formatting strings and corresponding arguments
  • minor cstyle changes and other small fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/nettest2/nettest2.c

    r202f57b r7e752b2  
    302302        /* Check data buffer size. */
    303303        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 "
    305305                    "bytes instead.\n", size);
    306306                size = 1024;
     
    375375                printf("\tOK\n");
    376376
    377         printf("sendto + recvfrom tested in %d microseconds\n",
     377        printf("sendto + recvfrom tested in %ld microseconds\n",
    378378            tv_sub(&time_after, &time_before));
    379379
     
    403403                printf("\tOK\n");
    404404
    405         printf("sendto, recvfrom tested in %d microseconds\n",
     405        printf("sendto, recvfrom tested in %ld microseconds\n",
    406406            tv_sub(&time_after, &time_before));
    407407
Note: See TracChangeset for help on using the changeset viewer.