]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix typo in function name (#5565)
authorMichal Sekletar <msekletar@users.noreply.github.com>
Fri, 10 Mar 2017 14:16:24 +0000 (15:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Mar 2017 14:16:24 +0000 (09:16 -0500)
man/sd_journal_get_fd.xml
man/sd_login_monitor_new.xml

index 61293f7f99d3527193b72bdca5f288b23b006938..2e686caccbc84befbd91867217e83c4722a913f3 100644 (file)
@@ -146,7 +146,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>
@@ -304,7 +304,7 @@ int wait_for_changes(sd_journal *j) {
   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;
   }
index 5625ab9207c8a0d51be9d4ff1fc797f7e0de43b3..129c99f97d9995a0ca9271560c54fb8d4fdba525 100644 (file)
@@ -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>