Changes in uspace/srv/hid/compositor/compositor.c [3b98311:cf02eaf] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r3b98311 rcf02eaf 2172 2172 /* Establish input bidirectional connection. */ 2173 2173 rc = input_connect(input_svc); 2174 if (rc != EOK) 2174 if (rc != EOK) { 2175 printf("%s: Failed to connect to input service.\n", NAME); 2175 2176 return rc; 2177 } 2176 2178 2177 2179 /* Create viewports and connect them to visualizers. */ … … 2179 2181 rc = loc_category_get_id("visualizer", &cat_id, IPC_FLAG_BLOCKING); 2180 2182 if (rc != EOK) { 2183 printf("%s: Failed to get visualizer category.\n", NAME); 2181 2184 input_disconnect(); 2182 2185 return -1; … … 2187 2190 rc = loc_category_get_svcs(cat_id, &svcs, &svcs_cnt); 2188 2191 if (rc != EOK || svcs_cnt == 0) { 2192 printf("%s: Failed to get visualizer category services.\n", NAME); 2189 2193 input_disconnect(); 2190 2194 return -1; … … 2203 2207 2204 2208 if (list_empty(&viewport_list)) { 2209 printf("%s: Failed to get viewports.\n", NAME); 2205 2210 input_disconnect(); 2206 2211 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.