projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #321 from mwongatemma/db_meta_data
[collectd.git]
/
src
/
apcups.c
diff --git
a/src/apcups.c
b/src/apcups.c
index
dd535b1
..
ee15b14
100644
(file)
--- a/
src/apcups.c
+++ b/
src/apcups.c
@@
-465,7
+465,7
@@
static int apcups_read (void)
apcups_detail.battv = -1.0;
apcups_detail.loadpct = -1.0;
apcups_detail.bcharge = -1.0;
- apcups_detail.timeleft =
-1.0
;
+ apcups_detail.timeleft =
NAN
;
apcups_detail.itemp = -300.0;
apcups_detail.linefreq = -1.0;