Skip to contentSkip to conversation

Small sound/core fix

PATCH Hal Duston 1 participant 1 message May 13, 2003 Sound

lore
Share & tools
lore

Hal Duston

author
#0 lore raw

This fixes a bug that appears to have crept in between 2.5.69-mm1 and 2.5.69-mm2 with the "switch most remaining drivers over to devfs_mk_bdev" patch

Hal Duston

sound/core/info.c +1 -1
@@ -1080,7 +1080,7 @@
 	entry->p = p;
 	up(&info_mutex);
 
-	if (strncmp(name, "controlC", 8) == 0)	/* created in sound.c */
+	if (strncmp(name, "controlC", 8) != 0)	/* created in sound.c */
 		devfs_mk_cdev(MKDEV(_major, minor), mode, "snd/%s", name);
 	return entry;
 }