diff options
Diffstat (limited to 'navit/profile.c')
-rw-r--r-- | navit/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/profile.c b/navit/profile.c index 736dd724c..b6d95cd1f 100644 --- a/navit/profile.c +++ b/navit/profile.c @@ -50,7 +50,7 @@ profile_timer(int level, const char *module, const char *function, const char *f sprintf(buffer, "profile:%s", module); debug_vprintf(1, buffer, strlen(buffer), function, strlen(function), 1, fmt, ap); if (msec >= 100) - debug_printf(1, buffer, strlen(buffer), function, strlen(function), 0, " %d msec\n", msec); + debug_printf(lvl_warning, buffer, strlen(buffer), function, strlen(function), 0, " %d msec\n", msec); else { usec=(curr.tv_usec-last[level].tv_usec)+(curr.tv_sec-last[level].tv_sec)*1000*1000; debug_printf(1, buffer, strlen(buffer), function, strlen(function), 0, " %d.%d msec\n", usec/1000, usec%1000); |