mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
FIX: it seem the fcntl returns -1,.. which made the flasher fail.
This commit is contained in:
parent
4003623bae
commit
04da5cd92b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue