diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:24 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:36:24 +0000 |
commit | cb575bf823793db3620c77a3c7bf12a7d3856ed3 (patch) | |
tree | 0118c6ec64520748c7daefd46e57c226343621d2 /navit/support/libc/stat.c | |
parent | 72471adee798a3a1d8414f0d4f77be816fb4dad6 (diff) | |
download | navit-cb575bf823793db3620c77a3c7bf12a7d3856ed3.tar.gz |
Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it looks like an error message.|#1269, part 5
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5967 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support/libc/stat.c')
-rw-r--r-- | navit/support/libc/stat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/support/libc/stat.c b/navit/support/libc/stat.c index 393b9f7cf..586dcf714 100644 --- a/navit/support/libc/stat.c +++ b/navit/support/libc/stat.c @@ -120,9 +120,9 @@ _stat (const char *path, struct _stat *st) size_t len; int exec; - dbg(lvl_error,"path=%s\n",path); + dbg(lvl_debug,"path=%s\n",path); mbstowcs (pathw, path, MAX_PATH); - dbg(lvl_error,"wide path=%S\n",pathw); + dbg(lvl_debug,"wide path=%S\n",pathw); if((h = FindFirstFileW (pathw, &fd)) == INVALID_HANDLE_VALUE) { DWORD dwError = GetLastError (); @@ -139,7 +139,7 @@ _stat (const char *path, struct _stat *st) exec = (len >= 4 && strcasecmp (path + len - 4, ".exe") == 0); ret = __stat_by_file_info (&sfi, st, exec); - dbg(lvl_error,"ret=%d\n",ret); + dbg(lvl_debug,"ret=%d\n",ret); FindClose (h); return ret; } |