Changes in uspace/srv/hid/input/ctl/stty.c [c072a29:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/stty.c
rc072a29 rb7fd2a0 46 46 47 47 static void stty_ctl_parse(sysarg_t); 48 static int stty_ctl_init(kbd_dev_t *);48 static errno_t stty_ctl_init(kbd_dev_t *); 49 49 static void stty_ctl_set_ind(kbd_dev_t *, unsigned int); 50 50 … … 237 237 }; 238 238 239 static int stty_ctl_init(kbd_dev_t *kdev)239 static errno_t stty_ctl_init(kbd_dev_t *kdev) 240 240 { 241 241 kbd_dev = kdev; … … 243 243 244 244 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; 246 249 } 247 250
Note:
See TracChangeset
for help on using the changeset viewer.