Changeset 73ac2e9 in mainline
- Timestamp:
- 2011-01-12T14:32:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 797b704
- Parents:
- fe5a9fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.c
rfe5a9fc r73ac2e9 45 45 #include <stdio.h> 46 46 #include <str.h> 47 #include <str_error.h> 47 48 48 49 #include <ipc/ipc.h> … … 333 334 return rc; 334 335 335 336 336 rc = net_initialize(client_connection); 337 337 if (rc != EOK) … … 592 592 rc = start_device(netif); 593 593 if (rc != EOK) { 594 printf("%s: Error starting interface %s (%s)\n", NAME, 595 netif->name, str_error(rc)); 594 596 measured_strings_destroy(&netif->configuration); 595 597 netifs_exclude_index(&net_globals.netifs, index); 598 596 599 return rc; 597 600 } … … 710 713 int main(int argc, char *argv[]) 711 714 { 712 int rc; 713 714 rc = net_module_start(net_client_connection); 715 if (rc != EOK) { 716 fprintf(stderr, "%s: net_module_start error %i\n", NAME, rc); 717 return rc; 718 } 719 720 return EOK; 715 return net_module_start(net_client_connection); 721 716 } 722 717
Note:
See TracChangeset
for help on using the changeset viewer.