diff options
author | 2011-09-21 18:45:16 +0000 | |
---|---|---|
committer | 2011-09-21 18:45:16 +0000 | |
commit | 831b7309159a26e99f6fe4b45596ef3151049f6b (patch) | |
tree | 50a9f3276a7a90db9c6bfe24c052f7f41abddba3 | |
parent | fix an |= that should have been != (diff) | |
download | wireguard-openbsd-831b7309159a26e99f6fe4b45596ef3151049f6b.tar.xz wireguard-openbsd-831b7309159a26e99f6fe4b45596ef3151049f6b.zip |
Repair interrupted reads; fixes ^Z. OK deraadt@
-rw-r--r-- | usr.bin/less/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/os.c b/usr.bin/less/os.c index c8f5a532b42..157c15bc116 100644 --- a/usr.bin/less/os.c +++ b/usr.bin/less/os.c @@ -120,7 +120,7 @@ start: #endif #ifdef EINTR if (errno == EINTR) - goto start; + return (READ_INTR); #endif #ifdef EAGAIN if (errno == EAGAIN) |