Changeset 1916d1f in mainline for uspace/app
- Timestamp:
- 2011-07-12T13:41:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50fc490
- Parents:
- 11809eab (diff), 6817eba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/app
- Files:
-
- 4 edited
-
ext2info/ext2info.c (modified) (1 diff)
-
init/init.c (modified) (1 diff)
-
ping/ping.c (modified) (5 diffs)
-
trace/syscalls.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/ext2info/ext2info.c
r11809eab r1916d1f 590 590 printf(" Directory contents:\n"); 591 591 592 rc = ext2_directory_iterator_init(&it, fs, inode_ref );592 rc = ext2_directory_iterator_init(&it, fs, inode_ref, 0); 593 593 if (rc != EOK) { 594 594 printf("Failed initializing directory iterator\n"); -
uspace/app/init/init.c
r11809eab r1916d1f 270 270 spawn("/srv/apic"); 271 271 spawn("/srv/i8259"); 272 spawn("/srv/fhc");273 272 spawn("/srv/obio"); 274 273 srv_start("/srv/cuda_adb"); -
uspace/app/ping/ping.c
r11809eab r1916d1f 36 36 37 37 #include <async.h> 38 #include <async_obsolete.h>39 38 #include <stdio.h> 40 39 #include <str.h> … … 341 340 config.dest_str, config.size, config.size); 342 341 343 int icmp_phone= icmp_connect_module();344 if ( icmp_phone < 0) {342 async_sess_t *sess = icmp_connect_module(); 343 if (!sess) { 345 344 fprintf(stderr, "%s: Unable to connect to ICMP service (%s)\n", NAME, 346 str_error( icmp_phone));347 return icmp_phone;345 str_error(errno)); 346 return errno; 348 347 } 349 348 … … 356 355 str_error(ret)); 357 356 358 async_ obsolete_hangup(icmp_phone);357 async_hangup(sess); 359 358 return ret; 360 359 } 361 360 362 361 /* Ping! */ 363 int result = icmp_echo_msg( icmp_phone, config.size, config.timeout,362 int result = icmp_echo_msg(sess, config.size, config.timeout, 364 363 config.ttl, config.tos, !config.fragments, config.dest_raw, 365 364 config.dest_len); … … 371 370 str_error(ret)); 372 371 373 async_ obsolete_hangup(icmp_phone);372 async_hangup(sess); 374 373 return ret; 375 374 } … … 391 390 } 392 391 393 async_ obsolete_hangup(icmp_phone);392 async_hangup(sess); 394 393 395 394 return 0; -
uspace/app/trace/syscalls.c
r11809eab r1916d1f 80 80 [SYS_SYSINFO_GET_DATA] = { "sysinfo_get_data", 5, V_ERRNO }, 81 81 82 [SYS_DEBUG_ ENABLE_CONSOLE] = { "debug_enable_console", 0, V_ERRNO },82 [SYS_DEBUG_ACTIVATE_CONSOLE] = { "debug_activate_console", 0, V_ERRNO }, 83 83 [SYS_IPC_CONNECT_KBOX] = { "ipc_connect_kbox", 1, V_ERRNO } 84 84 };
Note:
See TracChangeset
for help on using the changeset viewer.
