Changeset f2cb80a in mainline for uspace/app/display-cfg/main.c


Ignore:
Timestamp:
2024-02-23T17:57:23Z (15 months ago)
Author:
GitHub <noreply@…>
Children:
192019f
Parents:
86f862c (diff), 90ba06c (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.
git-author:
boba-buba <120932204+boba-buba@…> (2024-02-23 17:57:23)
git-committer:
GitHub <noreply@…> (2024-02-23 17:57:23)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/display-cfg/main.c

    r86f862c rf2cb80a  
    7878
    7979        rc = display_cfg_open(dcfg, DISPCFG_DEFAULT);
    80         if (rc != EOK)
     80        if (rc != EOK) {
     81                display_cfg_destroy(dcfg);
     82                printf("Error opening display configuration service '%s'.\n",
     83                    DISPCFG_DEFAULT);
    8184                return 1;
     85        }
    8286
    8387        rc = display_cfg_populate(dcfg);
    84         if (rc != EOK)
     88        if (rc != EOK) {
     89                display_cfg_destroy(dcfg);
     90                printf("Error reading display configuration.\n");
    8591                return 1;
     92        }
    8693
    8794        ui_run(dcfg->ui);
Note: See TracChangeset for help on using the changeset viewer.