projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
wireless.c
diff --git
a/src/wireless.c
b/src/wireless.c
index
5552be6
..
2e597f3
100644
(file)
--- a/
src/wireless.c
+++ b/
src/wireless.c
@@
-86,12
+86,11
@@
static int wireless_read(void) {
int numfields;
int devices_found;
int numfields;
int devices_found;
-
in
t len;
+
size_
t len;
/* there are a variety of names for the wireless device */
if ((fh = fopen(WIRELESS_PROC_FILE, "r")) == NULL) {
/* there are a variety of names for the wireless device */
if ((fh = fopen(WIRELESS_PROC_FILE, "r")) == NULL) {
- char errbuf[1024];
- WARNING("wireless: fopen: %s", sstrerror(errno, errbuf, sizeof(errbuf)));
+ WARNING("wireless: fopen: %s", STRERRNO);
return -1;
}
return -1;
}