From 04da5cd92bdf5cbdcec127961e2499121003655e Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 5 May 2016 21:13:12 +0200 Subject: [PATCH] FIX: it seem the fcntl returns -1,.. which made the flasher fail. --- client/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/uart.c b/client/uart.c index 508eb672..e538499b 100644 --- a/client/uart.c +++ b/client/uart.c @@ -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); -- 2.39.2