artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4cc2e
)
Fix wrong call to slot->ops->exit() causing server to abort.
author
ratchov
<ratchov@openbsd.org>
Sat, 9 Dec 2023 22:12:03 +0000
(22:12 +0000)
committer
ratchov
<ratchov@openbsd.org>
Sat, 9 Dec 2023 22:12:03 +0000
(22:12 +0000)
ok kn@
usr.bin/sndiod/dev.c
patch
|
blob
|
history
diff --git
a/usr.bin/sndiod/dev.c
b/usr.bin/sndiod/dev.c
index
97d1cb5
..
bd0ed8d
100644
(file)
--- a/
usr.bin/sndiod/dev.c
+++ b/
usr.bin/sndiod/dev.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dev.c,v 1.10
6 2022/12/26 19:16:03 jmc Exp $
*/
+/* $OpenBSD: dev.c,v 1.10
7 2023/12/09 22:12:03 ratchov Exp $
*/
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@
-1389,7
+1389,7
@@
dev_migrate(struct dev *odev)
if (s->opt == NULL || s->opt->dev != odev)
continue;
if (s->ops != NULL) {
- s->ops->exit(s);
+ s->ops->exit(s
->arg
);
s->ops = NULL;
}
}