Changeset 1c6c3e1d in mainline for uspace/app/terminal/terminal.c


Ignore:
Timestamp:
2023-10-22T17:55:33Z (17 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
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.
Message:

Merge branch 'master' into ticket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/terminal.c

    r315d487 r1c6c3e1d  
    10221022        term->srvs.sarg = term;
    10231023
    1024         rc = loc_server_register(NAME);
     1024        rc = loc_server_register(NAME, &term->srv);
    10251025        if (rc != EOK) {
    10261026                printf("Error registering server.\n");
     
    10331033            task_get_id());
    10341034
    1035         rc = loc_service_register(vc, &term->dsid);
     1035        rc = loc_service_register(term->srv, vc, &term->dsid);
    10361036        if (rc != EOK) {
    10371037                printf("Error registering service.\n");
     
    10631063        return EOK;
    10641064error:
     1065        if (term->dsid != 0)
     1066                loc_service_unregister(term->srv, term->dsid);
     1067        if (term->srv != NULL)
     1068                loc_server_unregister(term->srv);
    10651069        if (term->window != NULL)
    10661070                ui_window_destroy(term->window);
Note: See TracChangeset for help on using the changeset viewer.