remove perror

This commit is contained in:
Philippe Teuwen
2019-07-14 00:30:57 +02:00
parent 25e2ab9a4c
commit bb3c5e364e
3 changed files with 3 additions and 4 deletions

View File

@@ -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);