Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/ctl/stty.c

    rc072a29 rb7fd2a0  
    4646
    4747static void stty_ctl_parse(sysarg_t);
    48 static int stty_ctl_init(kbd_dev_t *);
     48static errno_t stty_ctl_init(kbd_dev_t *);
    4949static void stty_ctl_set_ind(kbd_dev_t *, unsigned int);
    5050
     
    237237};
    238238
    239 static int stty_ctl_init(kbd_dev_t *kdev)
     239static errno_t stty_ctl_init(kbd_dev_t *kdev)
    240240{
    241241        kbd_dev = kdev;
     
    243243
    244244        gsp_init(&sp);
    245         return gsp_insert_defs(&sp, seq_defs);
     245        if (gsp_insert_defs(&sp, seq_defs) < 0) {
     246                return EINVAL;
     247        }
     248        return EOK;
    246249}
    247250
Note: See TracChangeset for help on using the changeset viewer.