From fc25f490984524798f044260f40793d1e002a3a5 Mon Sep 17 00:00:00 2001 From: Evan Felix Date: Thu, 16 May 2013 08:51:12 -0700 Subject: [PATCH] Drop suffixes, now that we are putting them in correct types --- src/mic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mic.c b/src/mic.c index da58b35a..49ff0dbf 100644 --- a/src/mic.c +++ b/src/mic.c @@ -335,9 +335,9 @@ static int mic_read_power(int mic) mic_submit_power(mic,"power",#name,(gauge_t)power_use.name.prr*0.000001); \ } while(0) #define SUB_VOLTS(name) do { if (ignorelist_match(power_ignore,#name)==0) {\ - mic_submit_power(mic,"power",#name "-pwr",(gauge_t)(power_use.name.pwr*0.000001)); \ - mic_submit_power(mic,"current",#name "-cur",(gauge_t)(power_use.name.cur*0.001)); \ - mic_submit_power(mic,"voltage",#name "-volt",(gauge_t)(power_use.name.volt*0.000001)); \ + mic_submit_power(mic,"power",#name,(gauge_t)(power_use.name.pwr*0.000001)); \ + mic_submit_power(mic,"current",#name,(gauge_t)(power_use.name.cur*0.001)); \ + mic_submit_power(mic,"voltage",#name,(gauge_t)(power_use.name.volt*0.000001)); \ }} while(0) SUB_POWER(total0); -- 2.11.0