Changes in uspace/srv/net/net/start/netstart.c [a000878c:21580dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/start/netstart.c
ra000878c r21580dd 69 69 * @returns Other error codes as defined for the task_spawn() function. 70 70 */ 71 task_id_t spawn( c onst char * fname );71 task_id_t spawn( char * fname ); 72 72 73 73 int main( int argc, char * argv[] ){ … … 97 97 } 98 98 99 task_id_t spawn( c onst char * fname ){100 c onst char * argv[ 2 ];99 task_id_t spawn( char * fname ){ 100 char * argv[ 2 ]; 101 101 task_id_t res; 102 102 103 // printf( "Spawning %s\n", fname ); 103 104 argv[ 0 ] = fname; 104 105 argv[ 1 ] = NULL; 105 106 res = task_spawn( fname, argv ); 106 107 if( res != 0 ){ 108 /* Success */ 109 usleep( 50000 ); 110 } 107 111 return res; 108 112 }
Note:
See TracChangeset
for help on using the changeset viewer.