Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/os/helenos.c

    r5db9084 r1ebc1a62  
    105105{
    106106        char *line;
    107         int rc;
    108107
    109108        if (tinput == NULL) {
     
    113112        }
    114113
    115         rc = tinput_read(tinput, &line);
    116         if (rc == ENOENT) {
    117                 /* User-requested abort */
    118                 *ptr = os_str_dup("");
    119                 return EOK;
    120         }
    121 
    122         if (rc != EOK) {
    123                 /* Error in communication with console */
     114        line = tinput_read(tinput);
     115        if (line == NULL)
    124116                return EIO;
    125         }
    126117
    127118        /* XXX Input module needs trailing newline to keep going. */
Note: See TracChangeset for help on using the changeset viewer.