summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2020-11-27 16:27:03 +0100
committerManuel Bentele2020-11-27 16:27:03 +0100
commitf4104f01c23998a24eae2a6eeb1777fd3c217fe5 (patch)
tree93f2787d759baacb655de931069d633d16c77870
parent[SERVER] Fix warnings (diff)
downloaddnbd3-f4104f01c23998a24eae2a6eeb1777fd3c217fe5.tar.gz
dnbd3-f4104f01c23998a24eae2a6eeb1777fd3c217fe5.tar.xz
dnbd3-f4104f01c23998a24eae2a6eeb1777fd3c217fe5.zip
[SERVER] replaced non-existent FUSE define to match CMake's build defines
-rw-r--r--src/server/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/server.c b/src/server/server.c
index c9a0a92..ec2e24c 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -110,8 +110,8 @@ void dnbd3_printHelp(char *argv_0)
printf( "Usage: %s [OPTIONS]...\n", argv_0 );
printf( "Start the DNBD3 server\n" );
printf( "-c or --config Configuration directory (default /etc/dnbd3-server/)\n" );
-#ifdef DNBD3_SERVER_WITH_FUSE
- printf( "-m or --mount FUSE mount point\n ");
+#ifdef DNBD3_SERVER_FUSE
+ printf( "-m or --mount FUSE mount point\n");
#endif
printf( "-n or --nodaemon Start server in foreground\n" );
printf( "-b or --bind Local Address to bind to\n" );
@@ -238,7 +238,7 @@ int main(int argc, char *argv[])
_configDir = strdup( optarg );
break;
case 'm':
-#ifndef DNBD3_SERVER_WITH_FUSE
+#ifndef DNBD3_SERVER_FUSE
fprintf( stderr, "FUSE support not enabled at build time.\n" );
return 8;
#endif