mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-12 04:35:28 -07:00
CHG: this should remove a Coverity Scan warning.
This commit is contained in:
parent
c0afa86f75
commit
9965e0d1f8
@ -119,7 +119,7 @@ void uart_close(const serial_port sp) {
|
||||
fl.l_start = 0;
|
||||
fl.l_len = 0;
|
||||
fl.l_pid = getpid();
|
||||
fcntl(spu->fd, F_SETLK, &fl);
|
||||
int err = fcntl(spu->fd, F_SETLK, &fl);
|
||||
close(spu->fd);
|
||||
free(sp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user