diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2024-04-02 05:32:11 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2024-04-02 05:32:11 +0000 |
commit | 4a7781ae32018aedd053b650d8fe708d8a2fbe31 (patch) | |
tree | 65c7e6300e4d5c456d0f517d0da8d562702fed4b /usr.bin | |
parent | 2e787d697e1727eaefc09703f595d4a14170131f (diff) |
sndiod: Migrate clients upon watchdog timeout
When -F is used, fixes the difference in behavior between watchdog
timer expiry and other errors.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sndiod/siofile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sndiod/siofile.c b/usr.bin/sndiod/siofile.c index e437c2a1c99..1cfaa18376d 100644 --- a/usr.bin/sndiod/siofile.c +++ b/usr.bin/sndiod/siofile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siofile.c,v 1.26 2022/04/29 08:30:48 ratchov Exp $ */ +/* $OpenBSD: siofile.c,v 1.27 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); } |