Changeset f658458 in mainline for uspace/lib/libdrv/generic/driver.c


Ignore:
Timestamp:
2010-05-02T20:49:09Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb864a0
Parents:
25a7e11d
Message:

parts of generic char interface, fixed some bugs

File:
1 edited

Legend:

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

    r25a7e11d rf658458  
    254254                        if (!is_valid_iface_idx(iface_idx)) {
    255255                                // this is not device's interface
    256                                 printf("%s: driver_connection_gen error - invalid interface id %x.", driver->name, method);
     256                                printf("%s: driver_connection_gen error - invalid interface id %d.", driver->name, iface_idx);
    257257                                ipc_answer_0(callid, ENOTSUP);
    258258                                break;
     
    265265                        if (NULL == iface) {
    266266                                printf("%s: driver_connection_gen error - ", driver->name);
    267                                 printf("device with handle %x has no interface with id %x.\n", handle, method);
     267                                printf("device with handle %d has no interface with id %d.\n", handle, iface_idx);
    268268                                ipc_answer_0(callid, ENOTSUP);
    269269                                break;
Note: See TracChangeset for help on using the changeset viewer.