summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/con_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/con_tty.c b/src/sys/con_tty.c
index 8ab09256..20afab4c 100644
--- a/src/sys/con_tty.c
+++ b/src/sys/con_tty.c
@@ -358,8 +358,8 @@ char *CON_Input( void )
Q_strncpyz(text, TTY_con.buffer, sizeof(text));
Field_Clear(&TTY_con);
key = '\n';
- write(1, &key, 1);
- write( 1, "]", 1 );
+ write(STDOUT_FILENO, &key, 1);
+ write(STDOUT_FILENO, "]", 1);
return text;
}
if (key == '\t')