artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae90d84
)
sndiod: Migrate clients upon watchdog timeout
author
ratchov
<ratchov@openbsd.org>
Tue, 2 Apr 2024 05:32:10 +0000
(
05:32
+0000)
committer
ratchov
<ratchov@openbsd.org>
Tue, 2 Apr 2024 05:32:10 +0000
(
05:32
+0000)
When -F is used, fixes the difference in behavior between watchdog
timer expiry and other errors.
usr.bin/sndiod/siofile.c
patch
|
blob
|
history
diff --git
a/usr.bin/sndiod/siofile.c
b/usr.bin/sndiod/siofile.c
index
e437c2a
..
1cfaa18
100644
(file)
--- a/
usr.bin/sndiod/siofile.c
+++ b/
usr.bin/sndiod/siofile.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: siofile.c,v 1.2
6 2022/04/29 08:30:48
ratchov Exp $ */
+/* $OpenBSD: siofile.c,v 1.2
7 2024/04/02 05:32:10
ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@
-84,6
+84,7
@@
dev_sio_timeout(void *arg)
dev_log(d);
log_puts(": watchdog timeout\n");
+ dev_migrate(d);
dev_abort(d);
}