diff options
author | Michael Scherle | 2022-08-04 16:41:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-13 18:25:33 +0200 |
commit | 0509e68d68f473d10ac1337f8effd67559193193 (patch) | |
tree | fb5a78789a2ced6f24adeaeff3cf4da9c2108b30 | |
parent | added github ci for fuse with cow (diff) | |
download | dnbd3-0509e68d68f473d10ac1337f8effd67559193193.tar.gz dnbd3-0509e68d68f473d10ac1337f8effd67559193193.tar.xz dnbd3-0509e68d68f473d10ac1337f8effd67559193193.zip |
[FUSE] 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; } |