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

    r202f57b r7e752b2  
    3535 */
    3636
     37#include <inttypes.h>
    3738#include <errno.h>
    3839#include <stdlib.h>
     
    7980        }
    8081       
    81         printf(NAME ": trying to read %d characters from device with handle "
    82             "%d.\n", cnt, handle);
     82        printf(NAME ": trying to read %ld characters from device with handle "
     83            "%" PRIun ".\n", cnt, handle);
    8384       
    8485        int phone = devman_device_connect(handle, IPC_FLAG_BLOCKING);
Note: See TracChangeset for help on using the changeset viewer.