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


Ignore:
Timestamp:
2010-12-02T17:21:30Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bd76491
Parents:
8ad673a (diff), 41a7f62 (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:

Merge from mainline

File:
1 edited

Legend:

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

    r8ad673a rba519f7  
    3636 */
    3737
     38#include <inttypes.h>
    3839#include <assert.h>
    3940#include <ipc/services.h>
     
    417418        node_t *dev = find_dev_node(&device_tree, handle);
    418419        if (dev == NULL) {
    419                 printf(NAME ": devman_forward error - no device with handle %x "
    420                     "was found.\n", handle);
     420                printf(NAME ": devman_forward error - no device with handle %" PRIun
     421                    " was found.\n", handle);
    421422                ipc_answer_0(iid, ENOENT);
    422423                return;
     
    434435       
    435436        if (driver == NULL) {
    436                 printf(NAME ": devman_forward error - the device is not in "
    437                     "usable state.\n", handle);
     437                printf(NAME ": devman_forward error - the device is not in %" PRIun
     438                    " usable state.\n", handle);
    438439                ipc_answer_0(iid, ENOENT);
    439440                return;
     
    449450                printf(NAME ": devman_forward: cound not forward to driver %s ",
    450451                    driver->name);
    451                 printf("the driver's phone is %x).\n", driver->phone);
     452                printf("the driver's phone is %" PRIun ").\n", driver->phone);
    452453                ipc_answer_0(iid, EINVAL);
    453454                return;
Note: See TracChangeset for help on using the changeset viewer.