From 583ba34b33c7e4dc71ac8f043442ca4d7d7e89cf Mon Sep 17 00:00:00 2001 From: Michael Scherle Date: Thu, 4 Aug 2022 16:41:31 +0200 Subject: added pthread creation error message --- src/fuse/cowfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fuse/cowfile.c b/src/fuse/cowfile.c index f627f88..7a1d7a2 100644 --- a/src/fuse/cowfile.c +++ b/src/fuse/cowfile.c @@ -824,7 +824,7 @@ bool cowfile_init( char *path, const char *image_Name, uint16_t imageVersion, at return false; } if ( statFile || statStdout ) { - if(pthread_create( &tidStatUpdater, NULL, &cowfile_statUpdater, NULL ) != 0 ){ + if(pthread_create( &tidStatUpdater, NULL, &cowfile_statUpdater, NULL ) != 0 ) { logadd( LOG_ERROR, "Could not create stat updater thread"); return false; } @@ -940,7 +940,7 @@ bool cowfile_load( char *path, atomic_uint_fast64_t **imageSizePtr, char *server return false; } if ( statFile || statStdout ) { - if(pthread_create( &tidStatUpdater, NULL, &cowfile_statUpdater, NULL ) != 0 ){ + if(pthread_create( &tidStatUpdater, NULL, &cowfile_statUpdater, NULL ) != 0 ) { logadd( LOG_ERROR, "Could not create stat updater thread"); return false; } -- cgit v1.2.3-55-g7522