[PC-BSD Commits] r2525 - pcbsd/trunk/SoundDetect

svn at pcbsd.org svn at pcbsd.org
Tue Aug 5 07:00:58 PDT 2008


Author: kris
Date: 2008-08-05 07:00:58 -0700 (Tue, 05 Aug 2008)
New Revision: 2525

Modified:
   pcbsd/trunk/SoundDetect/parse_sound.c
   pcbsd/trunk/SoundDetect/sound_detect.c
Log:

Updated the char size of kmodule and kernel module, since it was causing some names such as snd_envy24ht to be truncated



Modified: pcbsd/trunk/SoundDetect/parse_sound.c
===================================================================
--- pcbsd/trunk/SoundDetect/parse_sound.c	2008-08-04 20:38:41 UTC (rev 2524)
+++ pcbsd/trunk/SoundDetect/parse_sound.c	2008-08-05 14:00:58 UTC (rev 2525)
@@ -50,7 +50,7 @@
 
 	xmlDocPtr doc;
 	xmlNodePtr cur;
-	static char kernelmodule[12];
+	static char kernelmodule[16];
 
 	doc = xmlParseFile(docname);
 	sprintf(kernelmodule,"%s","UNKNOWN");

Modified: pcbsd/trunk/SoundDetect/sound_detect.c
===================================================================
--- pcbsd/trunk/SoundDetect/sound_detect.c	2008-08-04 20:38:41 UTC (rev 2524)
+++ pcbsd/trunk/SoundDetect/sound_detect.c	2008-08-05 14:00:58 UTC (rev 2525)
@@ -41,7 +41,7 @@
 	char chip_id[12];
 	char def_chip_id[12];
 	char vendor[12];
-	char kmodule[12];
+	char kmodule[16];
 	short kldload_status ;
 
 	memset(chip_id,0,sizeof(chip_id));



More information about the Commits mailing list