Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69133 Details for
Bug 107052
collectd-2.1.0.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
multiple sensors patch for collectd
collectd-multi-sensor.patch (text/plain), 1013 bytes, created by
George Kargiotakis
on 2005-09-23 18:11:40 UTC
(
hide
)
Description:
multiple sensors patch for collectd
Filename:
MIME Type:
Creator:
George Kargiotakis
Created:
2005-09-23 18:11:40 UTC
Size:
1013 bytes
patch
obsolete
>--- src/sensors.c 2005-09-19 21:56:15.000000000 +0300 >+++ src/sensors.c 2005-09-19 21:55:47.000000000 +0300 >@@ -11,7 +11,7 @@ > > featurelist_t *first_feature = NULL; > >-static char *filename_format = "sensors-%s.rrd"; >+static char *filename_format = "sensors-%s-%s.rrd"; > > static char *ds_def[] = > { >@@ -103,12 +103,12 @@ > sensors_cleanup (); > } > >-void sensor_update_rrd (const char *feat_name, double value) >+void sensor_update_rrd (const char *feat_name, const char *chip_prefix, double value) > { > char filename[128]; > char buffer[128]; > >- if (snprintf (filename, 128, filename_format, feat_name) < 1) >+ if (snprintf (filename, 128, filename_format, chip_prefix, feat_name) < 1) > return; > > if (snprintf (buffer, 128, "N:%.3f", value) < 1) >@@ -127,7 +127,7 @@ > if (sensors_get_feature (*feature->chip, feature->data->number, &value) < 0) > continue; > >- sensor_update_rrd (feature->data->name, value); >+ sensor_update_rrd (feature->data->name, feature->chip->prefix, value); > } > > return (0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107052
:
69132
| 69133 |
69134