Changeset 1c6c3e1d in mainline for uspace/srv/hid/input/input.c
- Timestamp:
- 2023-10-22T17:55:33Z (15 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/input/input.c
r315d487 r1c6c3e1d 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * Copyright (c) 2006 Josef Cejka 4 4 * All rights reserved. … … 878 878 { 879 879 errno_t rc; 880 loc_srv_t *srv; 880 881 881 882 if (argc < 2) { … … 901 902 async_set_fallback_port_handler(client_connection, NULL); 902 903 903 rc = loc_server_register(NAME );904 rc = loc_server_register(NAME, &srv); 904 905 if (rc != EOK) { 905 906 printf("%s: Unable to register server\n", NAME); … … 908 909 909 910 service_id_t service_id; 910 rc = loc_service_register( argv[1], &service_id);911 rc = loc_service_register(srv, argv[1], &service_id); 911 912 if (rc != EOK) { 912 913 printf("%s: Unable to register service %s\n", NAME, argv[1]);
Note:
See TracChangeset
for help on using the changeset viewer.