diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
commit | ad7b5bdd30405b92042c4a1872175be80d8d111f (patch) | |
tree | 8cdcd0509d935c1606f14a3f89f407897e2bc3d0 /src/datafiles.c | |
parent | c4a8cc7e2f3890b8d82051c89748bea80350e8d4 (diff) |
A few GCC 3.4.x and MSVC++ warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/datafiles.c')
-rw-r--r-- | src/datafiles.c | 2 |
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 { |