summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc/bcwrap/wrap-anything.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/bc/bcwrap/wrap-anything.c')
-rw-r--r--gnu/usr.bin/bc/bcwrap/wrap-anything.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/bc/bcwrap/wrap-anything.c b/gnu/usr.bin/bc/bcwrap/wrap-anything.c
index 04421f3046d..d0e742ae544 100644
--- a/gnu/usr.bin/bc/bcwrap/wrap-anything.c
+++ b/gnu/usr.bin/bc/bcwrap/wrap-anything.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wrap-anything.c,v 1.2 1999/07/28 17:16:05 deraadt Exp $ */
+/* $OpenBSD: wrap-anything.c,v 1.3 2001/08/12 17:53:16 fgsch Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt <deraadt@theos.com>
@@ -98,7 +98,7 @@ main(argc, argv)
if (waitpid(pid, &stat, WNOHANG) > 0)
exit(WEXITSTATUS(stat));
- switch (poll(pfd, 2, -1)) {
+ switch (poll(pfd, 2, INFTIM)) {
case -1:
case 0:
break;