diff --git a/src/cmd/9term/SunOS.c b/src/cmd/9term/SunOS.c index 4c85918e..ba3039a6 100644 --- a/src/cmd/9term/SunOS.c +++ b/src/cmd/9term/SunOS.c @@ -67,7 +67,7 @@ isecho(int fd) if(debug) fprint(2, "israw %c%c\n", ttmode.c_lflag&ICANON ? 'c' : '-', ttmode.c_lflag&ECHO ? 'e' : '-'); - return (ttmode.c_lflag&ICANON && ttmode.c_lflags&ECHO); + return (ttmode.c_lflag&ICANON && ttmode.c_lflag&ECHO); } int