CHG: this should remove a Coverity Scan warning.

This commit is contained in:
iceman1001 2016-04-24 21:42:42 +02:00
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);
}