Changeset 1916d1f in mainline for uspace/app


Ignore:
Timestamp:
2011-07-12T13:41:26Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
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.
Message:

Merge libposix changes.

Location:
uspace/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/ext2info/ext2info.c

    r11809eab r1916d1f  
    590590        printf("  Directory contents:\n");
    591591       
    592         rc = ext2_directory_iterator_init(&it, fs, inode_ref);
     592        rc = ext2_directory_iterator_init(&it, fs, inode_ref, 0);
    593593        if (rc != EOK) {
    594594                printf("Failed initializing directory iterator\n");
  • uspace/app/init/init.c

    r11809eab r1916d1f  
    270270        spawn("/srv/apic");
    271271        spawn("/srv/i8259");
    272         spawn("/srv/fhc");
    273272        spawn("/srv/obio");
    274273        srv_start("/srv/cuda_adb");
  • uspace/app/ping/ping.c

    r11809eab r1916d1f  
    3636
    3737#include <async.h>
    38 #include <async_obsolete.h>
    3938#include <stdio.h>
    4039#include <str.h>
     
    341340            config.dest_str, config.size, config.size);
    342341       
    343         int icmp_phone = icmp_connect_module();
    344         if (icmp_phone < 0) {
     342        async_sess_t *sess = icmp_connect_module();
     343        if (!sess) {
    345344                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;
    348347        }
    349348       
     
    356355                            str_error(ret));
    357356                       
    358                         async_obsolete_hangup(icmp_phone);
     357                        async_hangup(sess);
    359358                        return ret;
    360359                }
    361360               
    362361                /* Ping! */
    363                 int result = icmp_echo_msg(icmp_phone, config.size, config.timeout,
     362                int result = icmp_echo_msg(sess, config.size, config.timeout,
    364363                    config.ttl, config.tos, !config.fragments, config.dest_raw,
    365364                    config.dest_len);
     
    371370                            str_error(ret));
    372371                       
    373                         async_obsolete_hangup(icmp_phone);
     372                        async_hangup(sess);
    374373                        return ret;
    375374                }
     
    391390        }
    392391       
    393         async_obsolete_hangup(icmp_phone);
     392        async_hangup(sess);
    394393       
    395394        return 0;
  • uspace/app/trace/syscalls.c

    r11809eab r1916d1f  
    8080    [SYS_SYSINFO_GET_DATA] = { "sysinfo_get_data",              5,      V_ERRNO },
    8181
    82     [SYS_DEBUG_ENABLE_CONSOLE] = { "debug_enable_console", 0,   V_ERRNO },
     82    [SYS_DEBUG_ACTIVATE_CONSOLE] = { "debug_activate_console", 0,       V_ERRNO },
    8383    [SYS_IPC_CONNECT_KBOX] = { "ipc_connect_kbox",      1,      V_ERRNO }
    8484};
Note: See TracChangeset for help on using the changeset viewer.