summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-22 23:09:46 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-22 23:09:46 +0200
commitfc33f7ee97da6a8b7263620775b7b74b4c754402 (patch)
tree519635b1f72acc7613b4b7c4ad70fbc39ab3901b /src/pulsecore/log.c
parent048e576a6dfe2bfe62fa33c74c30cc34057ee740 (diff)
parente4d914c945c13d23b131d7ba75fbdd03cb6d0043 (diff)
Merge most of elmarco/rtclock2
Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
Diffstat (limited to 'src/pulsecore/log.c')
-rw-r--r--src/pulsecore/log.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pulsecore/log.c b/src/pulsecore/log.c
index 15d192d6..8c21ee6c 100644
--- a/src/pulsecore/log.c
+++ b/src/pulsecore/log.c
@@ -38,6 +38,7 @@
#include <syslog.h>
#endif
+#include <pulse/rtclock.h>
#include <pulse/utf8.h>
#include <pulse/xmalloc.h>
#include <pulse/util.h>
@@ -45,7 +46,7 @@
#include <pulsecore/macro.h>
#include <pulsecore/core-util.h>
-#include <pulsecore/rtclock.h>
+#include <pulsecore/core-rtclock.h>
#include <pulsecore/once.h>
#include <pulsecore/ratelimit.h>
@@ -294,7 +295,7 @@ void pa_log_levelv_meta(
static pa_usec_t start, last;
pa_usec_t u, a, r;
- u = pa_rtclock_usec();
+ u = pa_rtclock_now();
PA_ONCE_BEGIN {
start = u;