summaryrefslogtreecommitdiffstats
path: root/src/test/test-mempress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-mempress.c')
-rw-r--r--src/test/test-mempress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-mempress.c b/src/test/test-mempress.c
index 44f1f4cf5f..dfbd63e601 100644
--- a/src/test/test-mempress.c
+++ b/src/test/test-mempress.c
@@ -43,7 +43,7 @@ static void *fake_pressure_thread(void *p) {
ASSERT_STREQ(buf, "hello");
assert_se(write(cfd, &(const char) { 'z' }, 1) == 1);
- return 0;
+ return NULL;
}
static int fake_pressure_callback(sd_event_source *s, void *userdata) {