aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/staticthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/staticthreads.c')
-rw-r--r--gdb/testsuite/gdb.threads/staticthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/staticthreads.c b/gdb/testsuite/gdb.threads/staticthreads.c
index f98f4f1..e834d7f 100644
--- a/gdb/testsuite/gdb.threads/staticthreads.c
+++ b/gdb/testsuite/gdb.threads/staticthreads.c
@@ -37,7 +37,7 @@ thread_function (void *arg)
if (errno != EINTR)
{
perror ("thread_function");
- return;
+ return NULL;
}
}
return NULL;