Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
ganglia-monitor-core
ganglia-monitor-core-2.5.7-gcc4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ganglia-monitor-core-2.5.7-gcc4.patch of Package ganglia-monitor-core
diff -ur ganglia-monitor-core-2.5.7-4/gmond/machines/linux.c ganglia-monitor-core-2.5.7/gmond/machines/linux.c --- ganglia-monitor-core-2.5.7-4/gmond/machines/linux.c 2004-09-29 22:31:08.000000000 +0200 +++ ganglia-monitor-core-2.5.7/gmond/machines/linux.c 2005-05-02 11:05:42.476143857 +0200 @@ -117,7 +117,7 @@ } p = index (p, '\n') + 1; // skips a line } - (unsigned long) diff = pkts_in - last_pkts_in; + diff = (unsigned long) pkts_in - last_pkts_in; if ( diff ) { t = proc_net_dev.last_read - stamp; @@ -177,7 +177,7 @@ } p = index (p, '\n') + 1; // skips a line } - (unsigned long) diff = pkts_out - last_pkts_out; + diff = (unsigned long) pkts_out - last_pkts_out; if ( diff ) { t = proc_net_dev.last_read - stamp; @@ -238,7 +238,7 @@ } p = index (p, '\n') + 1; // skips a line } - (unsigned long) diff = bytes_out - last_bytes_out; + diff = (unsigned long) bytes_out - last_bytes_out; if ( diff ) { t = proc_net_dev.last_read - stamp; @@ -302,7 +302,7 @@ } p = index (p, '\n') + 1; // skips a line } - (unsigned long) diff = bytes_in - last_bytes_in; + diff = (unsigned long) bytes_in - last_bytes_in; if ( diff ) { t = proc_net_dev.last_read - stamp;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor