Changes in uspace/srv/devman/main.c [7e752b2:0b5a4131] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r7e752b2 r0b5a4131 36 36 */ 37 37 38 #include <inttypes.h>39 38 #include <assert.h> 40 39 #include <ipc/services.h> … … 406 405 break; 407 406 default: 408 ipc_answer_0(callid, ENOENT); 407 if (!(callid & IPC_CALLID_NOTIFICATION)) 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 % " PRIun421 " 420 printf(NAME ": devman_forward error - no device with handle %x " 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 %" PRIun438 " 437 printf(NAME ": devman_forward error - the device is not in " 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 % " PRIun ").\n", driver->phone);452 printf("the driver's phone is %x).\n", driver->phone); 453 453 ipc_answer_0(iid, EINVAL); 454 454 return;
Note:
See TracChangeset
for help on using the changeset viewer.