diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dpfp_threaded.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dpfp_threaded.c b/examples/dpfp_threaded.c index e56ea88..c3cac73 100644 --- a/examples/dpfp_threaded.c +++ b/examples/dpfp_threaded.c @@ -91,7 +91,7 @@ static void *poll_thread_main(void *arg) } printf("poll thread shutting down\n"); - pthread_exit(NULL); + return NULL; } static int find_dpfp_device(void) |