Changeset 132ab5d1 in mainline for uspace/srv/net/inetsrv/inetsrv.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/inetsrv/inetsrv.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.c
r8bfb163 r132ab5d1 38 38 #include <async.h> 39 39 #include <errno.h> 40 #include <str_error.h> 40 41 #include <fibril_synch.h> 41 42 #include <io/log.h> … … 105 106 rc = loc_server_register(NAME); 106 107 if (rc != EOK) { 107 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server (%d).", rc);108 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server: %s.", str_error(rc)); 108 109 return EEXIST; 109 110 } … … 112 113 rc = loc_service_register(SERVICE_NAME_INET, &sid); 113 114 if (rc != EOK) { 114 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service (%d).", rc);115 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service: %s.", str_error(rc)); 115 116 return EEXIST; 116 117 } … … 479 480 } 480 481 481 sysarg_t retval;482 int retval; 482 483 async_wait_for(req, &retval); 483 484 484 return (int)retval;485 return retval; 485 486 } 486 487
Note:
See TracChangeset
for help on using the changeset viewer.
