Changeset 1c6c3e1d in mainline for uspace/srv/devman/main.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/devman/main.c
r315d487 r1c6c3e1d 1 1 /* 2 * Copyright (c) 2023 Jiri Svoboda 2 3 * Copyright (c) 2010 Lenka Trochtova 3 4 * All rights reserved. … … 64 65 driver_list_t drivers_list; 65 66 dev_tree_t device_tree; 67 loc_srv_t *devman_srv; 66 68 67 69 static void devman_connection_device(ipc_call_t *icall, void *arg) … … 280 282 static bool devman_init(void) 281 283 { 284 errno_t rc; 285 282 286 log_msg(LOG_DEFAULT, LVL_DEBUG, "devman_init - looking for available drivers."); 283 287 … … 305 309 * not work. 306 310 */ 307 loc_server_register(NAME); 311 rc = loc_server_register(NAME, &devman_srv); 312 if (rc != EOK) { 313 log_msg(LOG_DEFAULT, LVL_FATAL, "Error registering devman server."); 314 return false; 315 } 308 316 309 317 return true;
Note:
See TracChangeset
for help on using the changeset viewer.