Patch for drivers/isdn/hisax/config.c

Ruud de Rooij (src@dutibp.twi.tudelft.nl)
Sun, 8 Mar 1998 18:37:19 +0100


Hello.

Without the following patch, kernel 2.1.8x will hang at boot time if a
"hisax=..." kernel parameter is used.

Greetings,

Ruud de Rooij.

--- linux/drivers/isdn/hisax/config.c.orig Sun Jan 25 19:05:46 1998
+++ linux/drivers/isdn/hisax/config.c Sun Mar 8 18:35:37 1998
@@ -287,7 +287,7 @@
}
i++;
}
- if (strlen(str)) {
+ if (str && *str) {
strcpy(HiSaxID, str);
HiSax_id = HiSaxID;
} else {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu