Changes in uspace/srv/net/netstart/netstart.c [24ab58b3:4011fa0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netstart/netstart.c
r24ab58b3 r4011fa0 79 79 } 80 80 81 /** Network startup entry point. 82 * 83 * @param[in] argc The number of command line parameters. 84 * @param[in] argv The command line parameters. 85 * 86 * @returns EOK on success. 87 * @returns EINVAL if the net module cannot be started. 88 * @returns Other error codes as defined for the self_test() function. 89 * @returns Other error codes as defined for the NET_NET_STARTUP message. 90 * 91 */ 81 92 int main(int argc, char *argv[]) 82 93 { … … 94 105 int net_phone = connect_to_service(SERVICE_NETWORKING); 95 106 if (ERROR_OCCURRED(ipc_call_sync_0_0(net_phone, NET_NET_STARTUP))) { 96 fprintf(stderr, "%s: Startuperror %d\n", NAME, ERROR_CODE);107 fprintf(stderr, "%s: Networking error %d\n", NAME, ERROR_CODE); 97 108 return ERROR_CODE; 98 109 }
Note:
See TracChangeset
for help on using the changeset viewer.