summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-03-21 11:54:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-03-21 11:54:57 -0400
commit7f4f5b7dba1122c2fdc75dc4b704bdc53ad030b9 (patch)
tree20cc220665509566d30bb3593d27c332c43f2492
parent0fe32c80063feb75cae18025174342a150e2ba5c (diff)
src/shared/util.c: fix typo
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 3f6c1dcde4..156f483826 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -1116,7 +1116,7 @@ int fd_wait_for_event(int fd, int event, usec_t t) {
struct timespec ts;
int r;
-#ifdef HAVE_DECL_PPOLL
+#if HAVE_DECL_PPOLL
r = ppoll(&pollfd, 1, t == USEC_INFINITY ? NULL : timespec_store(&ts, t), NULL);
#else
/* Fallback path when ppoll() is unavailable */