Changeset bbc28be in mainline for uspace/srv/devman/main.c


Ignore:
Timestamp:
2010-12-03T12:59:13Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
70c85211
Parents:
2e15ac40 (diff), da55d5b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged branch development into /lelian/hidd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/main.c

    r2e15ac40 rbbc28be  
    3636 */
    3737
     38#include <inttypes.h>
    3839#include <assert.h>
    3940#include <ipc/services.h>
     
    405406                        break;
    406407                default:
    407                         if (!(callid & IPC_CALLID_NOTIFICATION))
    408                                 ipc_answer_0(callid, ENOENT);
     408                        ipc_answer_0(callid, ENOENT);
    409409                }
    410410        }
     
    418418        node_t *dev = find_dev_node(&device_tree, handle);
    419419        if (dev == NULL) {
    420                 printf(NAME ": devman_forward error - no device with handle %x "
    421                     "was found.\n", handle);
     420                printf(NAME ": devman_forward error - no device with handle %" PRIun
     421                    " was found.\n", handle);
    422422                ipc_answer_0(iid, ENOENT);
    423423                return;
     
    435435       
    436436        if (driver == NULL) {
    437                 printf(NAME ": devman_forward error - the device is not in "
    438                     "usable state.\n", handle);
     437                printf(NAME ": devman_forward error - the device is not in %" PRIun
     438                    " usable state.\n", handle);
    439439                ipc_answer_0(iid, ENOENT);
    440440                return;
     
    450450                printf(NAME ": devman_forward: cound not forward to driver %s ",
    451451                    driver->name);
    452                 printf("the driver's phone is %x).\n", driver->phone);
     452                printf("the driver's phone is %" PRIun ").\n", driver->phone);
    453453                ipc_answer_0(iid, EINVAL);
    454454                return;
Note: See TracChangeset for help on using the changeset viewer.