]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Changed strcmp to strncmp for checking the CIS manufacturer strings,
authornate <nate@FreeBSD.org>
Mon, 8 Dec 1997 06:35:07 +0000 (06:35 +0000)
committernate <nate@FreeBSD.org>
Mon, 8 Dec 1997 06:35:07 +0000 (06:35 +0000)
commitdb661a8b0cd07e05505e16d7740d34c8f19bf4c8
treecc6e8c562459d93228e735a233cf85c5823d1bc6
parentf22f07ffe0a82f242bb8e6bf62ddc05fde8a7ccc
- Changed strcmp to strncmp for checking the CIS manufacturer strings,
  since we only store CIS_MAXSTR data, and the users may stick the
  'entire' CIS string returned from the card in /etc/pccard.conf and
  cause the comparison to (bogusly) fail.

Submitted by: Brad Karp <karp@eecs.harvard.edu>
usr.sbin/pccard/pccardd/cardd.c