diff options
author | Rémi Lefèvre <remi.lefevre@parrot.com> | 2016-12-08 22:22:48 +0100 |
---|---|---|
committer | Rémi Lefèvre <remi.lefevre@parrot.com> | 2016-12-11 11:51:57 +0100 |
commit | 6a65ef0ad12302dbd6ee2dff5214c5df4002094c (patch) | |
tree | a7ab884dbf60b7e6f35d38dafb8a13e01dbbd269 /src/plugins_d.c | |
parent | ff9312b7b5708d1d1da6c58465e170bd0896556b (diff) |
`replace `time(NULL)` calls by `now_realtime_sec()`
Signed-off-by: Rémi Lefèvre <remi.lefevre@parrot.com>
Diffstat (limited to 'src/plugins_d.c')
-rw-r--r-- | src/plugins_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins_d.c b/src/plugins_d.c index 4053653233..e7197c3061 100644 --- a/src/plugins_d.c +++ b/src/plugins_d.c @@ -509,7 +509,7 @@ void *pluginsd_main(void *ptr) { cd->enabled = enabled; cd->update_every = (int) config_get_number(cd->id, "update every", rrd_update_every); - cd->started_t = time(NULL); + cd->started_t = now_realtime_sec(); char *def = ""; snprintfz(cd->cmd, PLUGINSD_CMD_MAX, "exec %s %d %s", cd->fullfilename, cd->update_every, config_get(cd->id, "command options", def)); |