Re: 2.6.1-mm4

From: Thomas Schlichter
Date: Fri Jan 16 2004 - 12:38:57 EST


Hi,

the patch "PP4-bwqcam-RC1" includes a small typo which leads to the undefined
symbol 'strcnmp'. The attaches patch corrects this typo.

Best regards
Thomas Schlichter
--- linux-2.6.1-mm4/drivers/media/video/bw-qcam.c.orig 2004-01-16 16:42:27.178216712 +0100
+++ linux-2.6.1-mm4/drivers/media/video/bw-qcam.c 2004-01-16 16:42:51.534513992 +0100
@@ -963,7 +963,7 @@
#ifdef MODULE
int n;

- if (parport[0] && strcnmp(parport[0], "auto", 4) != 0) {
+ if (parport[0] && strncmp(parport[0], "auto", 4) != 0) {
/* user gave parport parameters */
for(n=0; parport[n] && n<MAX_CAMS; n++){
char *ep;

Attachment: pgp00000.pgp
Description: signature