Update of /cvsroot/alsa/alsa-kernel/usb
In directory sc8-pr-cvs1:/tmp/cvs-serv1342
Modified Files:
usbaudio.c usbmixer.c
Log Message:
Fixed strlcat() calls
Index: usbaudio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbaudio.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- usbaudio.c 30 May 2003 12:28:36 -0000 1.51
+++ usbaudio.c 31 May 2003 12:28:40 -0000 1.52
@@ -2565,7 +2565,7 @@
}
}
if (len > 0)
- strlcat(card->longname, ' ', sizeof(card->longname));
+ strlcat(card->longname, " ", sizeof(card->longname));
len = strlen(card->longname);
Index: usbmixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbmixer.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- usbmixer.c 30 May 2003 12:28:36 -0000 1.19
+++ usbmixer.c 31 May 2003 12:28:40 -0000 1.20
@@ -1222,7 +1222,7 @@
if (! len)
strlcpy(kctl->id.name, name, sizeof(kctl->id.name));
}
- strlcat(kctl->id.name, ' ', sizeof(kctl->id.name));
+ strlcat(kctl->id.name, " ", sizeof(kctl->id.name));
strlcat(kctl->id.name, valinfo->suffix, sizeof(kctl->id.name));
snd_printdd(KERN_INFO "[%d] PU [%s] ch = %d, val = %d/%d\n",
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog