-/* $OpenBSD: sndioctl.c,v 1.18 2022/12/26 19:16:03 jmc Exp $ */
+/* $OpenBSD: sndioctl.c,v 1.19 2023/01/31 21:38:01 ratchov Exp $ */
/*
* Copyright (c) 2014-2020 Alexandre Ratchov <alex@caoua.org>
*
/*
* register a new knob/button, called from the poll() loop. this may be
* called when label string changes, in which case we update the
- * existing label widged rather than inserting a new one.
+ * existing label widget rather than inserting a new one.
*/
void
ondesc(void *arg, struct sioctl_desc *d, int curval)
exit(1);
}
for (;;) {
- fflush(stdout);
+ fflush(stdout);
nfds = sioctl_pollfd(hdl, pfds, POLLIN);
if (nfds == 0)
break;