aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index fe90a7f0..fe5a8001 100644
--- a/input.c
+++ b/input.c
@@ -1878,7 +1878,7 @@ keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
UNITTEST
{
int chan[2];
- pipe2(chan, O_CLOEXEC);
+ xassert(pipe2(chan, O_CLOEXEC) == 0);
xassert(chan[0] >= 0);
xassert(chan[1] >= 0);