Ignore:
File:
1 edited

Legend:

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

    r7e752b2 rcb819f9  
    4848#include <ctype.h>
    4949#include <errno.h>
    50 #include <inttypes.h>
    5150
    5251#include <ipc/driver.h>
     
    174173        res = driver->driver_ops->add_device(dev);
    175174        if (0 == res) {
    176                 printf("%s: new device with handle=%" PRIun " was added.\n",
     175                printf("%s: new device with handle = %x was added.\n",
    177176                    driver->name, dev_handle);
    178177        } else {
    179                 printf("%s: failed to add a new device with handle = %" PRIun ".\n",
     178                printf("%s: failed to add a new device with handle = %d.\n",
    180179                    driver->name, dev_handle);
    181180                remove_from_devices_list(dev);
     
    226225        if (dev == NULL) {
    227226                printf("%s: driver_connection_gen error - no device with handle"
    228                     " %" PRIun " was found.\n", driver->name, handle);
     227                    " %x was found.\n", driver->name, handle);
    229228                ipc_answer_0(iid, ENOENT);
    230229                return;
     
    290289                                printf("%s: driver_connection_gen error - ",
    291290                                    driver->name);
    292                                 printf("device with handle %" PRIun " has no interface "
     291                                printf("device with handle %d has no interface "
    293292                                    "with id %d.\n", handle, iface_idx);
    294293                                ipc_answer_0(callid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.