From owner-cvs-all Fri Jul 14 12:46:42 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A894137C0D6; Fri, 14 Jul 2000 12:46:36 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA18557; Fri, 14 Jul 2000 12:46:36 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <200007141946.MAA18557@freefall.freebsd.org> From: Warner Losh Date: Fri, 14 Jul 2000 12:46:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pccard/pccardd cardd.c cardd.h file.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2000/07/14 12:46:36 PDT Modified files: usr.sbin/pccard/pccardd cardd.c cardd.h file.c Log: Add new keyword "logstr". By default, we now use syslog outselves to log insert/remove events using the logstr, if specified for that card, or the manufacturer + version strings from the cis if not. This eliminates the need to have logger in the pccard.conf file which makes it easier to move pcardd to /sbin later if we need to. This also reduces the pccard.conf file size from 53k to 28k, which will help the install disk a little. Also, minor cleanup of free usage (if (x != NULL) free(x); is identical to free(x); for all versions of C that we care about). Reviewed by: iwasaki (who proposed the logstr keyword). Documentation and fixes to pccard.conf to follow. Revision Changes Path 1.54 +6 -1 src/usr.sbin/pccard/pccardd/cardd.c 1.24 +2 -1 src/usr.sbin/pccard/pccardd/cardd.h 1.31 +16 -10 src/usr.sbin/pccard/pccardd/file.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message