Changeset 1c6c3e1d in mainline for uspace/app/terminal/terminal.c
- Timestamp:
- 2023-10-22T17:55:33Z (17 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/app/terminal/terminal.c
r315d487 r1c6c3e1d 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.