freebsd-ports/security/ifd-gpr400/files/patch-gpr400_ifd.c
Edwin Groothuis 66a53cafed New port: security/ifd-gpr400: PC/SC Lite IFD for Gemplus GPR400
This is the user-space IFD driver to support the Gemplus
	GPR400 PCMCIA Smart Card Reader under PC/SC Lite.

PR:		ports/42697
Submitted by:	Bruce M Simpson <bms@spc.org>
2003-01-20 07:00:02 +00:00

11 lines
340 B
C

--- gpr400_ifd.c.orig Wed Aug 22 03:21:43 2001
+++ gpr400_ifd.c Sun Sep 8 18:10:47 2002
@@ -77,7 +77,7 @@
printf("IFDHCreateChannel:\n");
#endif
if(gpr_fd < 0){
- gpr_fd= open("/dev/gpr400", O_RDWR);
+ gpr_fd= open(GPRDEVNAME, O_RDWR);
if(gpr_fd < 0){
return IFD_COMMUNICATION_ERROR;
}