From a851a9d3c849eecdfd492cfc2c05964d76f5cb31 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Fri, 10 Mar 2017 15:16:24 +0100 Subject: [PATCH] Fix typo in function name (#5565) --- man/sd_login_monitor_new.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index d91a9d526..c6c58390a 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -203,7 +203,7 @@ if (t == (uint64_t) -1) else { struct timespec ts; uint64_t n; - clock_getttime(CLOCK_MONOTONIC, &ts); + clock_gettime(CLOCK_MONOTONIC, &ts); n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000; msec = t > n ? (int) ((t - n + 999) / 1000) : 0; } -- 2.30.2