Avoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes).

This commit is contained in:
Romuald Conty 2010-01-12 12:47:26 +00:00
parent f0acc73541
commit 0b720d30cd
3 changed files with 5 additions and 5 deletions

View file

@ -80,7 +80,7 @@ typedef struct {
*/
typedef struct {
/** Device name (e.g. "ACS ACR 38U-CCID 00 00") */
char acDevice[BUFSIZ];
char acDevice[DEVICE_NAME_LENGTH];
/** Driver name (e.g. "PN532_UART")*/
char* pcDriver;
/** Port (e.g. "/dev/ttyUSB0") */