Browse Source

Fix log severity duplicate printing

pull/262/head
Lucian Balaceanu 10 years ago
parent
commit
8d089303bd
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      daemon/log.c

+ 1
- 2
daemon/log.c View File

@ -90,8 +90,7 @@ void log_to_stderr(int facility_priority, char *format, ...) {
return;
}
fprintf(stderr, "[%lu.%06lu] %s: %s\n", (unsigned long) g_now.tv_sec, (unsigned long) g_now.tv_usec,
prio_str[facility_priority & LOG_PRIMASK], msg);
fprintf(stderr, "[%lu.%06lu] %s\n", (unsigned long) g_now.tv_sec, (unsigned long) g_now.tv_usec, msg);
free(msg);
}


Loading…
Cancel
Save