Changes in uspace/srv/hid/console/console.c [a635535:60ebe63] in mainline
- File:
-
- 1 edited
-
uspace/srv/hid/console/console.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
ra635535 r60ebe63 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2022 Jiri Svoboda 3 3 * Copyright (c) 2011 Martin Decky 4 4 * All rights reserved. … … 37 37 #include <stdio.h> 38 38 #include <adt/prodcons.h> 39 #include <io/console.h>40 39 #include <io/input.h> 41 40 #include <ipc/vfs.h> … … 89 88 con_srvs_t srvs; /**< Console service setup */ 90 89 } console_t; 91 92 static loc_srv_t *console_srv;93 90 94 91 /** Input server proxy */ … … 905 902 /* Register server */ 906 903 async_set_fallback_port_handler(client_connection, NULL); 907 rc = loc_server_register(NAME , &console_srv);904 rc = loc_server_register(NAME); 908 905 if (rc != EOK) { 909 906 printf("%s: Unable to register server (%s)\n", NAME, … … 955 952 snprintf(vc, LOC_NAME_MAXLEN, "%s/vc%zu", NAMESPACE, i); 956 953 957 if (loc_service_register(console_srv, vc, 958 &consoles[i].dsid) != EOK) { 954 if (loc_service_register(vc, &consoles[i].dsid) != EOK) { 959 955 printf("%s: Unable to register device %s\n", NAME, vc); 960 956 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
