From 54839e409afbcba6040779f1fba76686b3541d13 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Wed, 15 Apr 2020 14:41:21 +0200 Subject: [PATCH] Properly log CTL_NONE controls --- sndiod/dev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sndiod/dev.c b/sndiod/dev.c index 4f691e2..412a0f5 100644 --- a/sndiod/dev.c +++ b/sndiod/dev.c @@ -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);