aboutsummaryrefslogtreecommitdiff
path: root/data_recorder.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-05-14 22:31:10 -0400
committercnlohr <lohr85@gmail.com>2017-05-14 22:31:10 -0400
commit2d9edf9b1768b43e70717ecfe47fc021b877ee1b (patch)
tree5821a5e88ae65519fbe605eb71444cface0b2233 /data_recorder.c
parentd7c6cb9860c3c8ed34b0d6db358c8c3b3edb2233 (diff)
downloadlibsurvive-2d9edf9b1768b43e70717ecfe47fc021b877ee1b.tar.gz
libsurvive-2d9edf9b1768b43e70717ecfe47fc021b877ee1b.tar.bz2
Fix warnings and compilation on Linux
Diffstat (limited to 'data_recorder.c')
-rw-r--r--data_recorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data_recorder.c b/data_recorder.c
index 085b67d..002357e 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -149,7 +149,7 @@ void *SurviveThread(void *junk)
if( !ctx )
{
fprintf( stderr, "Fatal. Could not start\n" );
- return 1;
+ exit(1);
}
SurviveThreadLoaded = 1;