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

    r202f57b r7e752b2  
    4545#include <ctype.h>
    4646#include <macros.h>
     47#include <inttypes.h>
    4748
    4849#include <driver.h>
     
    126127static int root_add_device(device_t *dev)
    127128{
    128         printf(NAME ": root_add_device, device handle = %d\n", dev->handle);
     129        printf(NAME ": root_add_device, device handle=%" PRIun "\n",
     130            dev->handle);
    129131       
    130132        /* Register root device's children. */
Note: See TracChangeset for help on using the changeset viewer.