Changeset 7e752b2 in mainline for uspace/app/nettest1/nettest1.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/nettest1/nettest1.c

    r202f57b r7e752b2  
    356356        /* Check data buffer size */
    357357        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 "
    359359                    "bytes instead.\n", size);
    360360                size = 1024;
     
    410410        }
    411411
    412         printf("Tested in %d microseconds\n", tv_sub(&time_after,
     412        printf("Tested in %ld microseconds\n", tv_sub(&time_after,
    413413            &time_before));
    414414
Note: See TracChangeset for help on using the changeset viewer.