Page MenuHomeFreeBSD

D46856.id145084.diff
No OneTemporary

D46856.id145084.diff

diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -836,20 +836,20 @@
ret = 0;
switch (type) {
- case MOD_LOAD:
- pcm_devclass = devclass_create("pcm");
- pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL);
- break;
- case MOD_UNLOAD:
- if (pcmsg_unrhdr != NULL) {
- delete_unrhdr(pcmsg_unrhdr);
- pcmsg_unrhdr = NULL;
- }
- break;
- case MOD_SHUTDOWN:
- break;
- default:
- ret = ENOTSUP;
+ case MOD_LOAD:
+ pcm_devclass = devclass_create("pcm");
+ pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL);
+ break;
+ case MOD_UNLOAD:
+ if (pcmsg_unrhdr != NULL) {
+ delete_unrhdr(pcmsg_unrhdr);
+ pcmsg_unrhdr = NULL;
+ }
+ break;
+ case MOD_SHUTDOWN:
+ break;
+ default:
+ ret = ENOTSUP;
}
return ret;

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 1:22 PM (1 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14262128
Default Alt Text
D46856.id145084.diff (819 B)

Event Timeline