From: Michal Sekletar Date: Fri, 10 Mar 2017 14:16:24 +0000 (+0100) Subject: Fix typo in function name (#5565) X-Git-Tag: v234~379 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8feabc46263079cffba8a39c4082563320aeffc0;p=thirdparty%2Fsystemd.git Fix typo in function name (#5565) --- diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index 61293f7f99d..2e686caccbc 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -146,7 +146,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; } @@ -304,7 +304,7 @@ int wait_for_changes(sd_journal *j) { 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; } diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index 5625ab9207c..129c99f97d9 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; }