Michal Sekletar f5f073
From e05b13d4d4d5f076b9741e446640d75370bbf878 Mon Sep 17 00:00:00 2001
Michal Sekletar f5f073
From: Michal Sekletar <msekletar@users.noreply.github.com>
Michal Sekletar f5f073
Date: Fri, 10 Mar 2017 15:16:24 +0100
Michal Sekletar f5f073
Subject: [PATCH] Fix typo in function name (#5565)
Michal Sekletar f5f073
Michal Sekletar f5f073
(cherry picked from commit 8feabc46263079cffba8a39c4082563320aeffc0)
Michal Sekletar f5f073
---
Michal Sekletar f5f073
 man/sd_journal_get_fd.xml    | 4 ++--
Michal Sekletar f5f073
 man/sd_login_monitor_new.xml | 2 +-
Michal Sekletar f5f073
 2 files changed, 3 insertions(+), 3 deletions(-)
Michal Sekletar f5f073
Michal Sekletar f5f073
diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml
Michal Sekletar f5f073
index 61293f7..2e686ca 100644
Michal Sekletar f5f073
--- a/man/sd_journal_get_fd.xml
Michal Sekletar f5f073
+++ b/man/sd_journal_get_fd.xml
Michal Sekletar f5f073
@@ -146,7 +146,7 @@ if (t == (uint64_t) -1)
Michal Sekletar f5f073
 else {
Michal Sekletar f5f073
   struct timespec ts;
Michal Sekletar f5f073
   uint64_t n;
Michal Sekletar f5f073
-  clock_getttime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
+  clock_gettime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
   n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
Michal Sekletar f5f073
   msec = t > n ? (int) ((t - n + 999) / 1000) : 0;
Michal Sekletar f5f073
 }</programlisting>
Michal Sekletar f5f073
@@ -304,7 +304,7 @@ int wait_for_changes(sd_journal *j) {
Michal Sekletar f5f073
   else {
Michal Sekletar f5f073
     struct timespec ts;
Michal Sekletar f5f073
     uint64_t n;
Michal Sekletar f5f073
-    clock_getttime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
+    clock_gettime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
     n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
Michal Sekletar f5f073
     msec = t > n ? (int) ((t - n + 999) / 1000) : 0;
Michal Sekletar f5f073
   }
Michal Sekletar f5f073
diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml
Michal Sekletar f5f073
index 5625ab9..129c99f 100644
Michal Sekletar f5f073
--- a/man/sd_login_monitor_new.xml
Michal Sekletar f5f073
+++ b/man/sd_login_monitor_new.xml
Michal Sekletar f5f073
@@ -203,7 +203,7 @@ if (t == (uint64_t) -1)
Michal Sekletar f5f073
 else {
Michal Sekletar f5f073
          struct timespec ts;
Michal Sekletar f5f073
          uint64_t n;
Michal Sekletar f5f073
-         clock_getttime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
+         clock_gettime(CLOCK_MONOTONIC, &ts);
Michal Sekletar f5f073
          n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
Michal Sekletar f5f073
          msec = t > n ? (int) ((t - n + 999) / 1000) : 0;
Michal Sekletar f5f073
 }</programlisting>
Michal Sekletar f5f073
-- 
Michal Sekletar f5f073
2.9.3
Michal Sekletar f5f073