X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fserial.c;h=2980d523bbe7c39d7df0cc8860e36c8ce4dcff3b;hb=2c2be401897895c0a343dfd461adcfffbee950a6;hp=b7ec2da3fe7d491ab946eb45b5a12d1e7cc00103;hpb=7d4abe5a77b39c11b2187e1768339fcd11b0b763;p=libsigrok.git diff --git a/hardware/common/serial.c b/hardware/common/serial.c index b7ec2da3..2980d523 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -592,7 +592,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate, /* Turn off all serial port cooking. */ term.c_iflag &= ~(ISTRIP | INLCR | ICRNL); term.c_oflag &= ~(ONLCR | OCRNL | ONOCR); -#if !defined(__NetBSD__) +#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) term.c_oflag &= ~OFILL; #endif