]> granicus.if.org Git - strace/commitdiff
term.c: fix typo
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 5 Jul 2015 16:30:10 +0000 (16:30 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 5 Jul 2015 21:37:26 +0000 (21:37 +0000)
* term.c: Rename TCLFLSH to TCFLSH.

term.c

diff --git a/term.c b/term.c
index 8dfc9aa74c4d402decf347900b3bfa619b555b38..fbcd4a7cb1069347598cee476f9d5a7c8fde7f73 100644 (file)
--- a/term.c
+++ b/term.c
  */
 #include <linux/termios.h>
 
-#include "xlat/tcxonc_options.h"
+#ifdef TCXONC
+# include "xlat/tcxonc_options.h"
+#endif
 
-#ifdef TCLFLSH
-#include "xlat/tcflsh_options.h"
+#ifdef TCFLSH
+# include "xlat/tcflsh_options.h"
 #endif
 
 #include "xlat/baud_options.h"
@@ -166,7 +168,7 @@ term_ioctl(struct tcb *tcp, const unsigned int code, long arg)
                printxval(tcxonc_options, arg, "TC???");
                return 1;
 #endif
-#ifdef TCLFLSH
+#ifdef TCFLSH
        case TCFLSH:
                tprints(", ");
                printxval(tcflsh_options, arg, "TC???");