Page MenuHomeFreeBSD

D46856.diff
No OneTemporary

D46856.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
Wed, Nov 20, 4:08 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14262128
Default Alt Text
D46856.diff (819 B)

Event Timeline