From owner-freebsd-current Mon Sep 25 8:57:55 2000 Delivered-To: freebsd-current@freebsd.org Received: from bsd.rrze.uni-erlangen.de (bsd.rrze.uni-erlangen.de [131.188.3.40]) by hub.freebsd.org (Postfix) with ESMTP id D977B37B422 for ; Mon, 25 Sep 2000 08:57:49 -0700 (PDT) Received: from localhost (fd@localhost) by bsd.rrze.uni-erlangen.de (8.9.3/8.9.0/FD) with ESMTP id RAA96423 for ; Mon, 25 Sep 2000 17:57:45 +0200 (CEST) Date: Mon, 25 Sep 2000 17:57:44 +0200 (CEST) From: Falko Dressler To: freebsd-current@freebsd.org Subject: bug in ccard.c (pccardd code) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I discovered a little bug in ccard.c which is part of the pccardd: *** cardd.c.orig Mon Sep 25 17:52:03 2000 --- cardd.c Mon Sep 25 17:52:12 2000 *************** *** 546,552 **** sp->config->index = cisconf->id; break; default: /* normal, use index value */ ! for (cisconf = cis->conf; cisconf; cisconf = cisconf->next) if (cisconf->id == sp->config->index) break; } --- 546,552 ---- sp->config->index = cisconf->id; break; default: /* normal, use index value */ ! for (cisconf = cis->conf; cisconf->next; cisconf = cisconf->next) if (cisconf->id == sp->config->index) break; } Someone forgot to place the right pointer into the for-loop. Could you correct this for the next version! Best regards, Falko. -- Falko Dressler Am Tiefen Weg 13, 91077 Dormitz, Germany EMail: fd@fd42.de / Phone: +49 700 DRESSLER Phone: +49 9134 993311 / Fax: +49 9134 997267 WWW: http://bsd.rrze.uni-erlangen.de/~fd/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message