summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index f3083a9..72a28a3 100644
--- a/log.c
+++ b/log.c
@@ -144,7 +144,7 @@ void log_log(int pri,const char *format, ...)
{
/* if logging is not yet defined, log to stderr */
if (pri<=prelogging_loglevel)
- fprintf(stderr,"%s: %s\n",PACKAGE,buffer);
+ fprintf(stderr,"%s: %s%s\n",PACKAGE,pri==LOG_DEBUG?"DEBUG: ":"",buffer);
}
else
{