From a0217a2ff78ce88fe90e3345d2ee35ab53e3901e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 29 Jan 2020 10:47:19 -0500 Subject: [PATCH] fix unprotected macro argument in sys/ttydefaults.h --- include/sys/ttydefaults.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h index d251b715..e5d4da2b 100644 --- a/include/sys/ttydefaults.h +++ b/include/sys/ttydefaults.h @@ -6,7 +6,7 @@ #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL) #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL) #define TTYDEF_SPEED (B9600) -#define CTRL(x) (x&037) +#define CTRL(x) ((x)&037) #define CEOF CTRL('d') #ifdef _POSIX_VDISABLE -- 2.25.1