Changeset 6afc9d7 in mainline for uspace/lib/c/generic/io/console.c


Ignore:
Timestamp:
2015-10-06T19:01:36Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0328987
Parents:
f1f7584
Message:

UNIX-like I/O functions should use errno to return error code for many reasons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/console.c

    rf1f7584 r6afc9d7  
    4949                return NULL;
    5050       
    51         ctrl->input_sess = fsession(ifile, INTERFACE_CONSOLE);
     51        ctrl->input_sess = vfs_fsession(ifile, INTERFACE_CONSOLE);
    5252        if (!ctrl->input_sess) {
    5353                free(ctrl);
     
    5555        }
    5656       
    57         ctrl->output_sess = fsession(ofile, INTERFACE_CONSOLE);
     57        ctrl->output_sess = vfs_fsession(ofile, INTERFACE_CONSOLE);
    5858        if (!ctrl->output_sess) {
    5959                free(ctrl);
Note: See TracChangeset for help on using the changeset viewer.