diff options
Diffstat (limited to 'libbb/termios.c')
-rw-r--r-- | libbb/termios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/termios.c b/libbb/termios.c index 1291bf785..04eee7ced 100644 --- a/libbb/termios.c +++ b/libbb/termios.c | |||
@@ -260,7 +260,7 @@ int wincon_read(int fd, char *buf, int size) | |||
260 | static int initialized = 0; | 260 | static int initialized = 0; |
261 | 261 | ||
262 | if (fd != 0) | 262 | if (fd != 0) |
263 | die("wincon_read is for stdin only"); | 263 | bb_error_msg_and_die("wincon_read is for stdin only"); |
264 | if (cin == INVALID_HANDLE_VALUE || is_cygwin_tty(fd)) | 264 | if (cin == INVALID_HANDLE_VALUE || is_cygwin_tty(fd)) |
265 | return safe_read(fd, buf, size); | 265 | return safe_read(fd, buf, size); |
266 | if (!initialized) { | 266 | if (!initialized) { |