chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-sizeof: print the size of an enum
[elogind.git]
/
man
/
sd_login_monitor_new.xml
diff --git
a/man/sd_login_monitor_new.xml
b/man/sd_login_monitor_new.xml
index d91a9d526e94f4990aa053a9866ffacbb2eedb32..c6c58390a2b863705bd9973fc9e1ce794b2dfb19 100644
(file)
--- 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_gett
t
ime(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;
}</programlisting>