summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherle2022-08-04 16:41:31 +0200
committerSimon Rettberg2024-05-13 18:25:33 +0200
commit0509e68d68f473d10ac1337f8effd67559193193 (patch)
treefb5a78789a2ced6f24adeaeff3cf4da9c2108b30
parentadded github ci for fuse with cow (diff)
downloaddnbd3-0509e68d68f473d10ac1337f8effd67559193193.tar.gz
dnbd3-0509e68d68f473d10ac1337f8effd67559193193.tar.xz
dnbd3-0509e68d68f473d10ac1337f8effd67559193193.zip
[FUSE] added pthread creation error message
-rw-r--r--src/fuse/cowfile.c4
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;
}