Changeset 132ab5d1 in mainline for uspace/srv/net/dnsrsrv/dnsrsrv.c
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (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. - File:
-
- 1 edited
-
uspace/srv/net/dnsrsrv/dnsrsrv.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dnsrsrv.c
r8bfb163 r132ab5d1 36 36 #include <async.h> 37 37 #include <errno.h> 38 #include <str_error.h> 38 39 #include <io/log.h> 39 40 #include <ipc/dnsr.h> … … 68 69 rc = loc_server_register(NAME); 69 70 if (rc != EOK) { 70 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server (%d).", rc);71 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server: %s.", str_error(rc)); 71 72 transport_fini(); 72 73 return EEXIST; … … 76 77 rc = loc_service_register(SERVICE_NAME_DNSR, &sid); 77 78 if (rc != EOK) { 78 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service (%d).", rc);79 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service: %s.", str_error(rc)); 79 80 transport_fini(); 80 81 return EEXIST; … … 144 145 async_answer_0(callid, rc); 145 146 146 async_answer_0(iid, (sysarg_t)rc);147 async_answer_0(iid, rc); 147 148 148 149 dns_hostinfo_destroy(hinfo); … … 204 205 } 205 206 206 async_answer_0(iid, (sysarg_t)rc);207 async_answer_0(iid, rc); 207 208 } 208 209
Note:
See TracChangeset
for help on using the changeset viewer.
