Browse Source

Strip trailing whitespace and redundant spaces.

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5561 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.0.3
Jean Delvare 17 years ago
parent
commit
4042df3ded
  1. 4
      eeprom/decode-xeon

4
eeprom/decode-xeon

@ -75,9 +75,9 @@ for $i ( 0 .. $#dimm_list ) {
# Decode next 16 bytes # Decode next 16 bytes
$_=`cat /proc/sys/dev/sensors/$dimm_list[$i]/10`; $_=`cat /proc/sys/dev/sensors/$dimm_list[$i]/10`;
@bbytes=split(" "); @bbytes=split(" ");
print "\tS-spec/QDF Number:\t\t\t\t\"";
print "\tS-spec/QDF Number:\t\t\t\t\"";
print pack("cccccc",$bytes[14],$bytes[15],$bbytes[0], print pack("cccccc",$bytes[14],$bytes[15],$bbytes[0],
$bbytes[1],$bbytes[2],$bbytes[3]);
$bbytes[1],$bbytes[2],$bbytes[3]);
print "\"\n"; print "\"\n";
$tmp = $bbytes[4] & 0xC0 >> 6; $tmp = $bbytes[4] & 0xC0 >> 6;
printf("\tSample / Production:\t\t\t\t0x%.2X", $tmp); printf("\tSample / Production:\t\t\t\t0x%.2X", $tmp);

Loading…
Cancel
Save