Changeset 8a4ceaa in mainline for uspace/srv/hid/display/cfgops.c
- Timestamp:
- 2023-08-08T07:33:40Z (15 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a77c722
- Parents:
- 14cbf07
- git-author:
- Jiri Svoboda <jiri@…> (2023-08-07 17:32:47)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-08-08 07:33:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/cfgops.c
r14cbf07 r8a4ceaa 197 197 ds_cfgclient_t *cfgclient = (ds_cfgclient_t *)arg; 198 198 ds_seat_t *seat; 199 ds_seat_t *s; 199 200 200 201 log_msg(LOG_DEFAULT, LVL_DEBUG, "dispcfg_seat_delete()"); … … 205 206 ds_display_unlock(cfgclient->display); 206 207 return ENOENT; 208 } 209 210 /* Verify we are not deleting the last seat */ 211 s = ds_display_first_seat(cfgclient->display); 212 if (s == seat && ds_display_next_seat(s) == NULL) { 213 ds_display_unlock(cfgclient->display); 214 return EBUSY; 207 215 } 208 216
Note:
See TracChangeset
for help on using the changeset viewer.