Merge branch 'master' into mixer

This commit is contained in:
Alexandre Ratchov 2017-02-15 12:01:42 +01:00
commit 7d65997e91
1 changed files with 1 additions and 1 deletions

View File

@ -1857,7 +1857,7 @@ slot_detach(struct slot *s)
#endif
for (ps = &s->dev->slot_list; *ps != s; ps = &(*ps)->next) {
#ifdef DEBUG
if (s == NULL) {
if (*ps == NULL) {
slot_log(s);
log_puts(": can't detach, not on list\n");
panic();