From: iceman1001 Date: Thu, 5 May 2016 19:13:12 +0000 (+0200) Subject: FIX: it seem the fcntl returns -1,.. which made the flasher fail. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/04da5cd92bdf5cbdcec127961e2499121003655e FIX: it seem the fcntl returns -1,.. which made the flasher fail. --- diff --git a/client/uart.c b/client/uart.c index 508eb672..e538499b 100644 --- a/client/uart.c +++ b/client/uart.c @@ -123,7 +123,7 @@ void uart_close(const serial_port sp) { // Does the system allows us to place a lock on this file descriptor int err = fcntl(spu->fd, F_SETLK, &fl); if ( err == -1) { - perror("fcntl"); + //perror("fcntl"); } close(spu->fd); free(sp);