projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c0afa86
)
CHG: this should remove a Coverity Scan warning.
author
iceman1001
<iceman@iuse.se>
Sun, 24 Apr 2016 19:42:42 +0000
(21:42 +0200)
committer
iceman1001
<iceman@iuse.se>
Sun, 24 Apr 2016 19:42:42 +0000
(21:42 +0200)
client/uart.c
patch
|
blob
|
blame
|
history
diff --git
a/client/uart.c
b/client/uart.c
index 71cea1109d1e27ef191d871d8cde07f802eed36f..5aefcf762dd7f299f8c2f3a0335794db927958fb 100644
(file)
--- a/
client/uart.c
+++ b/
client/uart.c
@@
-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);
}
Impressum
,
Datenschutz