summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_x11eventloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/up_x11eventloop.c')
-rw-r--r--nuttx/arch/sim/src/up_x11eventloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_x11eventloop.c b/nuttx/arch/sim/src/up_x11eventloop.c
index a21f895c9..5c449b739 100644
--- a/nuttx/arch/sim/src/up_x11eventloop.c
+++ b/nuttx/arch/sim/src/up_x11eventloop.c
@@ -129,7 +129,7 @@ static void *up_x11eventthread(void *arg)
if (ret != GrabSuccess)
{
fprintf(stderr, "Failed grap pointer\n");
- return -1;
+ return NULL;
}
/* Then loop forever, waiting for events and processing events as they are