remove perror
This commit is contained in:
1 parent
25e2ab9a4c
commit
bb3c5e364e
3 files changed
+3
-4
No files matched your search
+1
-1
@@ -238,7 +238,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");
|
||||
printf("[!] UART error while closing port\n");
|
||||
}
|
||||
close(spu->fd);
|
||||
free(sp);
|
||||
|
||||
Reference in new issue
Block a user