Changeset 1c6c3e1d in mainline for uspace/srv/hid/console/console.c
- Timestamp:
- 2023-10-22T17:55:33Z (14 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 350ec74
- Parents:
- 315d487 (diff), 133461c (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/hid/console/console.c
r315d487 r1c6c3e1d 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * Copyright (c) 2011 Martin Decky 4 4 * All rights reserved. … … 89 89 } console_t; 90 90 91 static loc_srv_t *console_srv; 92 91 93 /** Input server proxy */ 92 94 static input_t *input; … … 902 904 /* Register server */ 903 905 async_set_fallback_port_handler(client_connection, NULL); 904 rc = loc_server_register(NAME );906 rc = loc_server_register(NAME, &console_srv); 905 907 if (rc != EOK) { 906 908 printf("%s: Unable to register server (%s)\n", NAME, … … 952 954 snprintf(vc, LOC_NAME_MAXLEN, "%s/vc%zu", NAMESPACE, i); 953 955 954 if (loc_service_register(vc, &consoles[i].dsid) != EOK) { 956 if (loc_service_register(console_srv, vc, 957 &consoles[i].dsid) != EOK) { 955 958 printf("%s: Unable to register device %s\n", NAME, vc); 956 959 return false;
Note:
See TracChangeset
for help on using the changeset viewer.