From 85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Tue, 20 Oct 2020 15:31:52 +0200 Subject: [BUILD] add option to build the dnbd3-server with afl-fuzz support The afl-fuzz support for the dnbd3-server requires an AFL C compiler like afl-gcc and can be enabled with the CMake option DNBD3_SERVER_AFL. --- src/fuse/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fuse') diff --git a/src/fuse/main.c b/src/fuse/main.c index 5cf3e81..2a851a7 100644 --- a/src/fuse/main.c +++ b/src/fuse/main.c @@ -329,6 +329,8 @@ int main( int argc, char *argv[] ) char *mountpoint; int foreground = 0; + log_init(); + if ( argc <= 1 || strcmp( argv[1], "--help" ) == 0 || strcmp( argv[1], "--usage" ) == 0 ) { printUsage( argv[0], 0 ); } -- cgit v1.2.3-55-g7522