Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    rcb819f9 r7e752b2  
    4848#include <ctype.h>
    4949#include <errno.h>
     50#include <inttypes.h>
    5051
    5152#include <ipc/driver.h>
     
    173174        res = driver->driver_ops->add_device(dev);
    174175        if (0 == res) {
    175                 printf("%s: new device with handle = %x was added.\n",
     176                printf("%s: new device with handle=%" PRIun " was added.\n",
    176177                    driver->name, dev_handle);
    177178        } else {
    178                 printf("%s: failed to add a new device with handle = %d.\n",
     179                printf("%s: failed to add a new device with handle = %" PRIun ".\n",
    179180                    driver->name, dev_handle);
    180181                remove_from_devices_list(dev);
     
    225226        if (dev == NULL) {
    226227                printf("%s: driver_connection_gen error - no device with handle"
    227                     " %x was found.\n", driver->name, handle);
     228                    " %" PRIun " was found.\n", driver->name, handle);
    228229                ipc_answer_0(iid, ENOENT);
    229230                return;
     
    289290                                printf("%s: driver_connection_gen error - ",
    290291                                    driver->name);
    291                                 printf("device with handle %d has no interface "
     292                                printf("device with handle %" PRIun " has no interface "
    292293                                    "with id %d.\n", handle, iface_idx);
    293294                                ipc_answer_0(callid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.