diff options
author | rob <rob@cvs.openbsd.org> | 2021-01-12 21:35:13 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2021-01-12 21:35:13 +0000 |
commit | de5a97eb8597595166322cc494cfe2489c6fa3e3 (patch) | |
tree | ada1399a1e65043982a2e9c0a7e92c363cb75df2 /regress | |
parent | 14f3e489ab4509992cda806ef2e175541e664aa2 (diff) |
Tweak previous.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libagentx/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libagentx/main.c b/regress/lib/libagentx/main.c index 6c0e522aad4..2a60cd305d7 100644 --- a/regress/lib/libagentx/main.c +++ b/regress/lib/libagentx/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.3 2021/01/12 20:58:21 rob Exp $ */ +/* $OpenBSD: main.c,v 1.4 2021/01/12 21:35:12 rob Exp $ */ /* * Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org> @@ -309,7 +309,7 @@ main(int argc, char *argv[]) pfd[0].fd = rev.ev_fd; pfd[0].events = POLLIN; - while (poll(pfd,1,200)) + while (poll(pfd,1,200) > 0) event_loop(EVLOOP_ONCE); regress_shutdown(); |