summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/ratelimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/ratelimit.c')
-rw-r--r--src/pulsecore/ratelimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/ratelimit.c b/src/pulsecore/ratelimit.c
index e913ca19..f00587af 100644
--- a/src/pulsecore/ratelimit.c
+++ b/src/pulsecore/ratelimit.c
@@ -38,7 +38,7 @@ pa_bool_t pa_ratelimit_test(pa_ratelimit *r) {
pa_usec_t now;
pa_mutex *m;
- now = pa_rtclock_usec();
+ now = pa_rtclock_now();
m = pa_static_mutex_get(&mutex, FALSE, FALSE);
pa_mutex_lock(m);