From 2b6dbe669fa2e488b31286150e8cb6f7c0875847 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 13 Jul 2016 22:41:40 +0200 Subject: Fix TABDLY value * bits/termios.h (TABDLY): Change macro to include TAB3 bit too. --- bits/termios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bits') diff --git a/bits/termios.h b/bits/termios.h index f28b492c10..c1b1a99fa3 100644 --- a/bits/termios.h +++ b/bits/termios.h @@ -152,7 +152,7 @@ struct termios # define NLDLY (3 << 8) /* NL delay. */ # define NL0 (0 << 8) /* NL type 0. */ # define NL1 (1 << 8) /* NL type 1. */ -# define TABDLY (3 << 10) /* TAB delay. */ +# define TABDLY (3 << 10 | 1 << 2) /* TAB delay. */ # define TAB0 (0 << 10) /* TAB delay type 0. */ # define TAB1 (1 << 10) /* TAB delay type 1. */ # define TAB2 (2 << 10) /* TAB delay type 2. */ -- cgit v1.2.3