projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ignore lint files
[collectd.git]
/
src
/
apcups.c
diff --git
a/src/apcups.c
b/src/apcups.c
index
2d1c16b
..
9f7476b
100644
(file)
--- a/
src/apcups.c
+++ b/
src/apcups.c
@@
-89,7
+89,7
@@
static int net_shutdown (int *fd)
if ((fd == NULL) || (*fd < 0))
return (EINVAL);
- swrite (*fd, (void *) &packet_size, sizeof (packet_size));
+
(void)
swrite (*fd, (void *) &packet_size, sizeof (packet_size));
close (*fd);
*fd = -1;