summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/emu10kx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pci/emu10kx.c')
-rw-r--r--sys/dev/sound/pci/emu10kx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/emu10kx.c b/sys/dev/sound/pci/emu10kx.c
index f455120..42e9bbd 100644
--- a/sys/dev/sound/pci/emu10kx.c
+++ b/sys/dev/sound/pci/emu10kx.c
@@ -1449,7 +1449,7 @@ sysctl_emu_mixer_control(SYSCTL_HANDLER_ARGS)
mixer_id = arg2;
new_vol = emumix_get_volume(sc, mixer_id);
- err = sysctl_handle_int(oidp, &new_vol, sizeof(new_vol), req);
+ err = sysctl_handle_int(oidp, &new_vol, 0, req);
if (err || req->newptr == NULL)
return (err);
OpenPOWER on IntegriCloud