summaryrefslogtreecommitdiff
path: root/src/datafiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datafiles.c')
-rw-r--r--src/datafiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datafiles.c b/src/datafiles.c
index 5c6d3f606..d7aaef736 100644
--- a/src/datafiles.c
+++ b/src/datafiles.c
@@ -186,7 +186,7 @@ static dbFILE *open_db_write(const char *service, const char *filename,
#ifdef _WIN32
if (debug) {
if (errno == ENOENT) {
- alog("debug: Error %d (ENOENT) : the file or directory does not exist", errno, filename);
+ alog("debug: Error %d (ENOENT) : the file or directory does not exist", errno);
} else if (errno == EACCES) {
alog("debug: Error %d (EACCES) : error while attempting to access file", errno);
} else {