=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/dev.c,v retrieving revision 1.109 retrieving revision 1.110 diff -c -r1.109 -r1.110 *** src/usr.bin/sndiod/dev.c 2024/04/22 10:39:51 1.109 --- src/usr.bin/sndiod/dev.c 2024/04/22 10:43:16 1.110 *************** *** 1,4 **** ! /* $OpenBSD: dev.c,v 1.109 2024/04/22 10:39:51 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: dev.c,v 1.110 2024/04/22 10:43:16 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 2340,2345 **** --- 2340,2347 ---- /* if control is hidden */ c->desc_mask |= s->self; } + if (s->ops) + s->ops->sync(s->arg); } void *************** *** 2553,2558 **** --- 2555,2561 ---- c->refs_mask |= s->self; /* if control is hidden */ c->desc_mask |= s->self; + s->ops->sync(s->arg); } }