]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: it seem the fcntl returns -1,.. which made the flasher fail.
authoriceman1001 <iceman@iuse.se>
Thu, 5 May 2016 19:13:12 +0000 (21:13 +0200)
committericeman1001 <iceman@iuse.se>
Thu, 5 May 2016 19:13:12 +0000 (21:13 +0200)
client/uart.c

index 508eb672fe48dd5a569c055f39202d42f7b7a9de..e538499bf6ea3a6bf933796a9ce4a58f37dac8dd 100644 (file)
@@ -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);
Impressum, Datenschutz