Changeset ab3a851 in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2010-11-30T00:50:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b2981aa
- Parents:
- 178673c (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r178673c rab3a851 36 36 */ 37 37 38 #include <inttypes.h> 38 39 #include <assert.h> 39 40 #include <ipc/services.h> … … 405 406 break; 406 407 default: 407 if (!(callid & IPC_CALLID_NOTIFICATION)) 408 ipc_answer_0(callid, ENOENT); 408 ipc_answer_0(callid, ENOENT); 409 409 } 410 410 } … … 418 418 node_t *dev = find_dev_node(&device_tree, handle); 419 419 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); 422 422 ipc_answer_0(iid, ENOENT); 423 423 return; … … 435 435 436 436 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); 439 439 ipc_answer_0(iid, ENOENT); 440 440 return; … … 450 450 printf(NAME ": devman_forward: cound not forward to driver %s ", 451 451 driver->name); 452 printf("the driver's phone is % x).\n", driver->phone);452 printf("the driver's phone is %" PRIun ").\n", driver->phone); 453 453 ipc_answer_0(iid, EINVAL); 454 454 return;
Note:
See TracChangeset
for help on using the changeset viewer.