mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-22 19:43:21 +00:00
FIX: it seem the fcntl returns -1,.. which made the flasher fail.
This commit is contained in:
1 parent
4003623bae
commit
04da5cd92b
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user