projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs_stats: Fix indent
[collectd.git]
/
src
/
collectd-tg.c
diff --git
a/src/collectd-tg.c
b/src/collectd-tg.c
index
4669c65
..
2d83bbf
100644
(file)
--- a/
src/collectd-tg.c
+++ b/
src/collectd-tg.c
@@
-105,7
+105,7
@@
static double dtime(void) /* {{{ */
{
struct timespec ts = {0};
- if (clock_gettime(CLOCK_
MONOTONIC
, &ts) != 0)
+ if (clock_gettime(CLOCK_
REALTIME
, &ts) != 0)
perror("clock_gettime");
return (double)ts.tv_sec + (double)ts.tv_nsec / 1e9;