the following proposed patch for stable (3.0) fixes bug 159 in FreeBSD which
will result in invalid values for the mem_total metric in 32bit systems with
more than 2GB of physical memory.

attached original fix committed as r884

Carlo
---
Index: libmetrics/freebsd/metrics.c
===================================================================
--- libmetrics/freebsd/metrics.c        (revision 883)
+++ libmetrics/freebsd/metrics.c        (revision 884)
@@ -211,7 +211,7 @@
 {
    g_val_t val;
    size_t len;
-   long total;
+   u_long total;
 
    len = sizeof(total);
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to