From cec6dc7a43f358bfe10d37c6013d83b5aff9b2cb Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 14 Dec 2009 17:50:59 +0000 Subject: [PATCH] -Tightly pack the precision data git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm.2 b/xCAT-server/lib/xcat/plugins/ipmi.pm.2 index ab920e596..66a98528b 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm.2 +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm.2 @@ -4283,11 +4283,11 @@ sub readenergy { $entry = process_energy_from_iem($iem); $iem->prep_get_precision(); execute_iem_commands($iem); - $entry .= sprintf(" +/- %.1f %",$iem->energy_ac_precision()*0.1); + $entry .= sprintf(" +/-%.1f%",$iem->energy_ac_precision()*0.1); #note while \x{B1} would be cool, it's non-trivial to support push @entries,$entry; $iem->prep_get_dc_energy(); $entry = process_energy_from_iem($iem); - $entry .= sprintf(" +/- %.1f %",$iem->energy_dc_precision()*0.1); + $entry .= sprintf(" +/-%.1f%",$iem->energy_dc_precision()*0.1); push @entries,$entry; return (0,@entries);