Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r87822ce r28a5ebd  
    122122        cons_event_t ev;
    123123        kbd_event_t *kev;
    124         errno_t rc;
    125124
    126125        while (true) {
    127                 rc = console_get_event(console, &ev);
    128                 if (rc != EOK)
     126                if (!console_get_event(console, &ev)) {
    129127                        return;
     128                }
    130129                if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS) {
    131130                        kev = &ev.ev.key;
Note: See TracChangeset for help on using the changeset viewer.