summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/driver.c')
-rw-r--r--sys/dev/sound/driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/driver.c b/sys/dev/sound/driver.c
index 57427d6..f995266 100644
--- a/sys/dev/sound/driver.c
+++ b/sys/dev/sound/driver.c
@@ -38,6 +38,7 @@ snd_modevent(module_t mod, int type, void *data)
case MOD_UNLOAD:
break;
default:
+ return (EOPNOTSUPP);
break;
}
return 0;
OpenPOWER on IntegriCloud