linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Small sound/core fix
@ 2003-05-13 18:53 Hal Duston
  0 siblings, 0 replies; only message in thread
From: Hal Duston @ 2003-05-13 18:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, hch

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

--- linux-2.5.69-mm2/sound/core/info.c
+++ linux-2.5.69-mm2-fix/sound/core/info.c
@@ -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;
 }




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-13 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 18:53 Small sound/core fix Hal Duston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).