diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer.c b/src/mixer.c index d07797a..a9cc483 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -637,7 +637,7 @@ int mixer_ctl_get_array(const struct mixer_ctl *ctl, void *array, size_t count) void *source; size_t total_count; - if ((!ctl) || !count || !array) + if (!ctl || !count || !array) return -EINVAL; total_count = ctl->info.count; |