aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-05 10:06:09 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-05 10:06:09 -0500
commitd7473767552c3df9dbb9e9e5b9e3645388035325 (patch)
treeff30092c55d8ea21b433e03a7f0ad34cf164cd53
parent1520ee149e5ae6cd57eab8bc99f03b899f2133c1 (diff)
downloaddbfs-d7473767552c3df9dbb9e9e5b9e3645388035325.tar.gz
syslog banner post-init. default to debugging enabled, for now.
-rw-r--r--dbfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbfs.c b/dbfs.c
index 31ea936..749ae86 100644
--- a/dbfs.c
+++ b/dbfs.c
@@ -21,6 +21,7 @@
#define _BSD_SOURCE
+#include "dbfs-config.h"
#include <fuse_lowlevel.h>
#include <stdlib.h>
#include <string.h>
@@ -32,7 +33,7 @@
#include <db.h>
#include "dbfs.h"
-int debugging = 0;
+int debugging = 1;
static void dbfs_fill_attr(const struct dbfs_inode *ino, struct stat *st)
{
@@ -107,8 +108,7 @@ static void dbfs_op_init(void *userdata, struct fuse_conn_info *conn)
gfs = fs;
- if (debugging)
- syslog(LOG_DEBUG, "EXIT dbfs_op_init");
+ syslog(LOG_INFO, PACKAGE_STRING " initialized");
}
static void dbfs_op_destroy(void *userdata)