Subversion Repositories HelenOS

Rev

Rev 2621 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2621 Rev 2635
Line 94... Line 94...
94
{
94
{
95
    stream_t stream;
95
    stream_t stream;
96
   
96
   
97
    if (console_phone < 0) {
97
    if (console_phone < 0) {
98
        while ((console_phone = ipc_connect_me_to(PHONE_NS,
98
        while ((console_phone = ipc_connect_me_to(PHONE_NS,
99
            SERVICE_CONSOLE, 0)) < 0) {
99
            SERVICE_CONSOLE, 0, 0)) < 0) {
100
            usleep(10000);
100
            usleep(10000);
101
        }
101
        }
102
    }
102
    }
103
   
103
   
104
    stream.r = read_stdin;
104
    stream.r = read_stdin;
Line 113... Line 113...
113
{
113
{
114
    stream_t stream;
114
    stream_t stream;
115
 
115
 
116
    if (console_phone < 0) {
116
    if (console_phone < 0) {
117
        while ((console_phone = ipc_connect_me_to(PHONE_NS,
117
        while ((console_phone = ipc_connect_me_to(PHONE_NS,
118
            SERVICE_CONSOLE, 0)) < 0) {
118
            SERVICE_CONSOLE, 0, 0)) < 0) {
119
            usleep(10000);
119
            usleep(10000);
120
        }
120
        }
121
    }
121
    }
122
   
122
   
123
    stream.r = NULL;
123
    stream.r = NULL;