projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/plugin.[ch]: Change the "time" member to "cdtime_t".
[collectd.git]
/
src
/
ipmi.c
diff --git
a/src/ipmi.c
b/src/ipmi.c
index
95b3dbf
..
c631574
100644
(file)
--- a/
src/ipmi.c
+++ b/
src/ipmi.c
@@
-136,7
+136,7
@@
static void sensor_read_handler (ipmi_sensor_t *sensor,
if (c_ipmi_nofiy_notpresent)
{
if (c_ipmi_nofiy_notpresent)
{
- notification_t n = { NOTIF_WARNING,
time(NULL
), "", "", "ipmi",
+ notification_t n = { NOTIF_WARNING,
cdtime (
), "", "", "ipmi",
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
@@
-190,7
+190,7
@@
static void sensor_read_handler (ipmi_sensor_t *sensor,
if (c_ipmi_nofiy_notpresent)
{
if (c_ipmi_nofiy_notpresent)
{
- notification_t n = { NOTIF_OKAY,
time(NULL
), "", "", "ipmi",
+ notification_t n = { NOTIF_OKAY,
cdtime (
), "", "", "ipmi",
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
@@
-363,7
+363,7
@@
static int sensor_list_add (ipmi_sensor_t *sensor)
if (c_ipmi_nofiy_add && (c_ipmi_init_in_progress == 0))
{
if (c_ipmi_nofiy_add && (c_ipmi_init_in_progress == 0))
{
- notification_t n = { NOTIF_OKAY,
time(NULL
), "", "", "ipmi",
+ notification_t n = { NOTIF_OKAY,
cdtime (
), "", "", "ipmi",
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
"", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
@@
-417,7
+417,7
@@
static int sensor_list_remove (ipmi_sensor_t *sensor)
if (c_ipmi_nofiy_remove && c_ipmi_active)
{
if (c_ipmi_nofiy_remove && c_ipmi_active)
{
- notification_t n = { NOTIF_WARNING,
time(NULL
), "", "",
+ notification_t n = { NOTIF_WARNING,
cdtime (
), "", "",
"ipmi", "", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));
"ipmi", "", "", "", NULL };
sstrncpy (n.host, hostname_g, sizeof (n.host));