mirror of https://github.com/ericonr/sndio.git
Properly log CTL_NONE controls
This commit is contained in:
parent
573c328527
commit
54839e409a
|
@ -2277,6 +2277,9 @@ ctl_log(struct ctl *c)
|
|||
log_puts(c->func);
|
||||
log_puts("=");
|
||||
switch (c->type) {
|
||||
case CTL_NONE:
|
||||
log_puts("none");
|
||||
break;
|
||||
case CTL_NUM:
|
||||
case CTL_SW:
|
||||
log_putu(c->curval);
|
||||
|
|
Loading…
Reference in New Issue