Changeset bf61d3a in mainline for uspace/app/nettest1/nettest1.c


Ignore:
Timestamp:
2010-11-26T01:34:21Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
273b958
Parents:
4b9a410 (diff), 7e752b2 (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.
Message:

merge compile-time printf() argument checking, fixes of actual printf() arguments and related modifications

File:
1 edited

Legend:

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

    r4b9a410 rbf61d3a  
    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.