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