summaryrefslogtreecommitdiffstats
path: root/man/sd_login_monitor_new.xml
diff options
context:
space:
mode:
authorMichal Sekletar <msekletar@users.noreply.github.com>2017-03-10 15:16:24 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-10 15:16:24 +0100
commit8feabc46263079cffba8a39c4082563320aeffc0 (patch)
treebd733854b497ba2bba71ac56da0e7d8476bda0e8 /man/sd_login_monitor_new.xml
parenthwdb: Add new quirk type to documentation (diff)
downloadsystemd-8feabc46263079cffba8a39c4082563320aeffc0.tar.xz
systemd-8feabc46263079cffba8a39c4082563320aeffc0.zip
Fix typo in function name (#5565)
Diffstat (limited to '')
-rw-r--r--man/sd_login_monitor_new.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml
index 5625ab9207..129c99f97d 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, &amp;ts);
+ clock_gettime(CLOCK_MONOTONIC, &amp;ts);
n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
msec = t > n ? (int) ((t - n + 999) / 1000) : 0;
}</programlisting>