On Tue, 3 Jan 2006 01:47:46 -0500, Dmitry Torokhov <[EMAIL PROTECTED]> wrote:
> +static int __init obsolete_checksetup(char *line, int len) > - int n = strlen(p->str); > - if (!strncmp(line, p->str, n)) { > + if (!strncmp(line, p->str, len) && len == strlen(p->str)) { This looks like it should work, with the disclaimer that I am not infallible. But even if it does, my patch saved reading, so I think it should be applied as well. -- Pete ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel