From: ratchov Date: Tue, 2 Apr 2024 05:32:10 +0000 (+0000) Subject: sndiod: Migrate clients upon watchdog timeout X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2435013d9866790b0c5a3a07c5d7d810c316de90;p=openbsd sndiod: Migrate clients upon watchdog timeout When -F is used, fixes the difference in behavior between watchdog timer expiry and other errors. --- 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 * @@ -84,6 +84,7 @@ dev_sio_timeout(void *arg) dev_log(d); log_puts(": watchdog timeout\n"); + dev_migrate(d); dev_abort(d); }