Changes in uspace/srv/hid/console/console.c [593e023:2f6ad06] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
r593e023 r2f6ad06 49 49 #include <malloc.h> 50 50 #include <as.h> 51 #include <task.h> 51 52 #include <fibril_synch.h> 52 53 #include "console.h" … … 508 509 509 510 for (size_t i = 0; i < CONSOLE_COUNT; i++) { 510 if (consoles[i].dsid == (service_id_t) IPC_GET_ARG 1(*icall)) {511 if (consoles[i].dsid == (service_id_t) IPC_GET_ARG2(*icall)) { 511 512 cons = &consoles[i]; 512 513 break; … … 536 537 } 537 538 538 sess = loc_service_connect( EXCHANGE_ATOMIC, dsid, 0);539 sess = loc_service_connect(dsid, INTERFACE_INPUT, 0); 539 540 if (sess == NULL) { 540 541 printf("%s: Unable to connect to input service %s\n", NAME, … … 561 562 int rc = loc_service_get_id(svc, &dsid, 0); 562 563 if (rc == EOK) { 563 sess = loc_service_connect( EXCHANGE_SERIALIZE, dsid, 0);564 sess = loc_service_connect(dsid, INTERFACE_OUTPUT, 0); 564 565 if (sess == NULL) { 565 566 printf("%s: Unable to connect to output service %s\n", … … 586 587 587 588 /* Register server */ 588 async_set_ client_connection(client_connection);589 async_set_fallback_port_handler(client_connection, NULL); 589 590 rc = loc_server_register(NAME); 590 591 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.