Changeset bad8d41 in mainline for uspace/srv/hid/input/ctl/stty.c


Ignore:
Timestamp:
2017-12-21T20:24:54Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Parents:
f04b5b3
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-21 18:24:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-21 20:24:54)
Message:

The "not-so-obvious" error handling tweaks.

File:
1 edited

Legend:

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

    rf04b5b3 rbad8d41  
    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.