Ignore:
Timestamp:
2013-03-12T23:04:05Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aaceebc4
Parents:
a05f2af
Message:

root, compositor: Be more verbose about errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/compositor/compositor.c

    ra05f2af r428bd07  
    20922092        /* Establish input bidirectional connection. */
    20932093        rc = input_connect(input_svc);
    2094         if (rc != EOK)
     2094        if (rc != EOK) {
     2095                printf("%s: Failed to connect to input service.\n", NAME);
    20952096                return rc;
     2097        }
    20962098
    20972099        /* Create viewports and connect them to visualizers. */
     
    20992101        rc = loc_category_get_id("visualizer", &cat_id, IPC_FLAG_BLOCKING);
    21002102        if (rc != EOK) {
     2103                printf("%s: Failed to get visualizer category.\n", NAME);
    21012104                input_disconnect();
    21022105                return -1;
     
    21072110        rc = loc_category_get_svcs(cat_id, &svcs, &svcs_cnt);
    21082111        if (rc != EOK || svcs_cnt == 0) {
     2112                printf("%s: Failed to get visualizer category services.\n", NAME);
    21092113                input_disconnect();
    21102114                return -1;
     
    21232127       
    21242128        if (list_empty(&viewport_list)) {
     2129                printf("%s: Failed to get view ports.\n", NAME);
    21252130                input_disconnect();
    21262131                return -1;
Note: See TracChangeset for help on using the changeset viewer.