Changeset 4c6fd56 in mainline for uspace/app/terminal/terminal.c
- Timestamp:
- 2023-09-16T19:58:18Z (9 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7d7f5e3
- Parents:
- 6a0b2cc
- git-author:
- Jiri Svoboda <jiri@…> (2023-09-16 19:48:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-09-16 19:58:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.c
r6a0b2cc r4c6fd56 1022 1022 term->srvs.sarg = term; 1023 1023 1024 rc = loc_server_register(NAME );1024 rc = loc_server_register(NAME, &term->srv); 1025 1025 if (rc != EOK) { 1026 1026 printf("Error registering server.\n"); … … 1033 1033 task_get_id()); 1034 1034 1035 rc = loc_service_register( vc, &term->dsid);1035 rc = loc_service_register(term->srv, vc, &term->dsid); 1036 1036 if (rc != EOK) { 1037 1037 printf("Error registering service.\n"); … … 1063 1063 return EOK; 1064 1064 error: 1065 if (term->dsid != 0) 1066 loc_service_unregister(term->srv, term->dsid); 1067 if (term->srv != NULL) 1068 loc_server_unregister(term->srv); 1065 1069 if (term->window != NULL) 1066 1070 ui_window_destroy(term->window);
Note:
See TracChangeset
for help on using the changeset viewer.