Rev 4307 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4307 | Rev 4603 | ||
|---|---|---|---|
| Line 78... | Line 78... | ||
| 78 | printf( "%s\n", NAME ); |
78 | printf( "%s\n", NAME ); |
| 79 | // run self tests |
79 | // run self tests |
| 80 | ERROR_PROPAGATE( self_test()); |
80 | ERROR_PROPAGATE( self_test()); |
| 81 | // start net service |
81 | // start net service |
| 82 | if( ! spawn( "/srv/net" )){ |
82 | if( ! spawn( "/srv/net" )){ |
| 83 | printf( "Could not spawn net\n" ); |
83 | fprintf( stderr, "Could not spawn net\n" ); |
| 84 | return EINVAL; |
84 | return EINVAL; |
| 85 | } |
85 | } |
| 86 | // start net |
86 | // start net |
| 87 | net_phone = connect_to_service( SERVICE_NETWORKING ); |
87 | net_phone = connect_to_service( SERVICE_NETWORKING ); |
| 88 | if( ERROR_OCCURRED( ipc_call_sync_0_0( net_phone, NET_NET_STARTUP ))){ |
88 | if( ERROR_OCCURRED( ipc_call_sync_0_0( net_phone, NET_NET_STARTUP ))){ |