]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/serial.c
GPL headers: Use correct project name.
[libsigrok.git] / hardware / common / serial.c
index b7ec2da3fe7d491ab946eb45b5a12d1e7cc00103..f887194b8a7179d269d74ef0b7af39ac55e80356 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
  *
  * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
  * Copyright (C) 2010-2012 Uwe Hermann <uwe@hermann-uwe.de>
@@ -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