mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-04 16:16:04 -06:00
cygfuse: cygfuse_init_fail now prints message and exits
This commit is contained in:
1 parent
6d5401d911
commit
9d77c192a8
3 files changed
+3
-1
No files matched your search
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/cygwin.h>
|
||||
@@ -141,6 +142,7 @@ static void *cygfuse_init_winfsp()
|
||||
|
||||
static void *cygfuse_init_fail()
|
||||
{
|
||||
abort();
|
||||
fprintf(stderr, "cygfuse: initialization failed: " CYGFUSE_WINFSP_NAME " not found\n");
|
||||
exit(1);
|
||||
return 0;
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in new issue
Block a user