Changeset 124c061 in mainline for uspace/srv/hid/console/console.c


Ignore:
Timestamp:
2011-01-23T23:47:58Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11bb813
Parents:
fdb9982c
Message:

ipc_connect_to_me() now takes one extra argument to store the client task hash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/console.c

    rfdb9982c r124c061  
    727727        /* NB: The callback connection is slotted for removal */
    728728        sysarg_t phonehash;
    729         if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     729        if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, NULL,
     730            &phonehash) != 0) {
    730731                printf(NAME ": Failed to create callback from input device\n");
    731732                return false;
     
    749750        }
    750751       
    751         if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) {
     752        if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, NULL,
     753            &phonehash) != 0) {
    752754                printf(NAME ": Failed to create callback from mouse device\n");
    753755                mouse_phone = -1;
Note: See TracChangeset for help on using the changeset viewer.