projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcachec plugin: Fixed a typo in a comment.
[collectd.git]
/
src
/
irq.c
diff --git
a/src/irq.c
b/src/irq.c
index
0492c81
..
1aef344
100644
(file)
--- a/
src/irq.c
+++ b/
src/irq.c
@@
-190,8
+190,10
@@
static int irq_read (void)
irq_value += value;
} /* for (i) */
- irq_submit (irq, irq_value);
+ /* Force 32bit wrap-around */
+ irq_submit (irq, irq_value % 4294967296ULL);
}
+
fclose (fh);
return (0);