Changes in uspace/srv/taskmon/taskmon.c [01c3bb4:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskmon/taskmon.c
r01c3bb4 rb7fd2a0 56 56 char *s_taskid; 57 57 char *dump_fname; 58 int rc;58 errno_t rc; 59 59 60 60 task_id_t taskid; … … 148 148 async_set_fallback_port_handler(corecfg_client_conn, NULL); 149 149 150 int rc = loc_server_register(NAME);150 errno_t rc = loc_server_register(NAME); 151 151 if (rc != EOK) { 152 printf("%s: Failed registering server (%d).\n",153 NAME, rc);152 printf("%s: Failed registering server: %s.\n", 153 NAME, str_error(rc)); 154 154 return -1; 155 155 } … … 158 158 rc = loc_service_register(SERVICE_NAME_CORECFG, &sid); 159 159 if (rc != EOK) { 160 printf("%s: Failed registering service (%d).\n",161 NAME, rc);160 printf("%s: Failed registering service: %s.\n", 161 NAME, str_error(rc)); 162 162 return -1; 163 163 }
Note:
See TracChangeset
for help on using the changeset viewer.