diff options
Diffstat (limited to 'posix_api/livermore/pthread/init.c')
-rw-r--r-- | posix_api/livermore/pthread/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix_api/livermore/pthread/init.c b/posix_api/livermore/pthread/init.c index bbc296b..af90ba4 100644 --- a/posix_api/livermore/pthread/init.c +++ b/posix_api/livermore/pthread/init.c @@ -59,7 +59,7 @@ void *POSIX_Init(void *argument) pthread_join(threads[t],NULL); } /* Last thing that main() should do */ - exit(NULL); + exit(0); } /* NOTICE: the clock driver is explicitly disabled */ |