Date: Fri, 14 Jul 2000 12:46:36 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pccard/pccardd cardd.c cardd.h file.c Message-ID: <200007141946.MAA18557@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007141946.MAA18557>
