diff options
Diffstat (limited to 'libbb/read_key.c')
-rw-r--r-- | libbb/read_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/read_key.c b/libbb/read_key.c index 829ae21..cf8ed41 100644 --- a/libbb/read_key.c +++ b/libbb/read_key.c @@ -291,6 +291,7 @@ int64_t FAST_FUNC safe_read_key(int fd, char *buffer, int timeout) { int64_t r; do { + /* errno = 0; - read_key does this itself */ r = read_key(fd, buffer, timeout); } while (errno == EINTR); return r; |