diff options
author | Michael Scherle | 2022-08-04 16:41:31 +0200 |
---|---|---|
committer | Michael Scherle | 2022-08-04 16:41:31 +0200 |
commit | 583ba34b33c7e4dc71ac8f043442ca4d7d7e89cf (patch) | |
tree | 5e7c5cf61b0a933f0433f37bb6c18adfea2242d7 | |
parent | added github ci (diff) | |
download | dnbd3-583ba34b33c7e4dc71ac8f043442ca4d7d7e89cf.tar.gz dnbd3-583ba34b33c7e4dc71ac8f043442ca4d7d7e89cf.tar.xz dnbd3-583ba34b33c7e4dc71ac8f043442ca4d7d7e89cf.zip |
added pthread creation error message
-rw-r--r-- | src/fuse/cowfile.c | 4 |
1 files 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; } |