openbsd-ports/security/pcsc-lite/patches/patch-src-utils-installifs_c
shell 1e1ed29279 Initial import of pcsc-lite-1.0.1
---
PC/SC Architecture for most Unix type operating systems.  Allows
easy porting of Windows smartcard software to other operating
systems.  Supports many types of serial, PCMCIA, and USB smartcard
readers and cryptographic tokens.

WWW: http://www.linuxnet.com/

Tested by Dr. Ludovic Rousseau and me.
2001-12-07 06:33:19 +00:00

20 lines
643 B
Plaintext

$OpenBSD: patch-src-utils-installifs_c,v 1.1.1.1 2001/12/07 06:33:19 shell Exp $
--- src/utils/installifd.c.orig Wed Nov 28 18:29:49 2001
+++ src/utils/installifd.c Wed Nov 28 18:30:13 2001
@@ -107,12 +107,12 @@
printf("\n\n");
- printf("Now creating new /etc/reader.conf: \n");
+ printf("Now creating new /etc/pcscd/reader.conf: \n");
- fd = fopen("/etc/reader.conf", "w" );
+ fd = fopen("/etc/pcscd/reader.conf", "w" );
if ( fd == 0 ) {
- printf("Cannot open file /etc/reader.conf (are you root ?)\n");
+ printf("Cannot open file /etc/pcscd/reader.conf (are you root ?)\n");
free(lpcPortID);
return 1;
}