From 55218405178c6fd21b83b19f14d549f2fb602101 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sat, 15 Dec 2007 13:50:22 +0000 Subject: Sort out command-line arguments, so that both FUSE and plpfuse get to parse them. Force FUSE to run single-threaded. --- plpfuse/fuse.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plpfuse/fuse.c') diff --git a/plpfuse/fuse.c b/plpfuse/fuse.c index 92720e2..f33863c 100644 --- a/plpfuse/fuse.c +++ b/plpfuse/fuse.c @@ -24,10 +24,8 @@ #include #include -#include -#include "rfsv_api.h" - #include "plpfuse.h" +#include "rfsv_api.h" #define NO_PSION ENOMEDIUM @@ -39,8 +37,8 @@ debuglog(char *fmt, ...) va_list ap; char *buf; - //if (!debug) - // return 0; + if (!debug) + return 0; va_start(ap, fmt); vasprintf(&buf, fmt, ap); syslog(LOG_DEBUG, "%s", buf); -- cgit v1.2.3