Browse Source

Prevent hang on reserved DDR3 module type

Function sprint doesn't exist, sprintf was intended.


git-svn-id: http://lm-sensors.org/svn/i2c-tools/branches/i2c-tools-3.1@6121 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.1.1
Jean Delvare 13 years ago
parent
commit
7987d0d642
  1. 1
      CHANGES
  2. 2
      eeprom/decode-dimms

1
CHANGES

@ -8,6 +8,7 @@ SVN HEAD
Update manufacturer IDs
Remove duplicate "ns" in SDR timings
Fix decoding of SDR SPD revision
Prevent hang on reserved DDR3 module type
i2cdetect: Clarify the SMBus commands used for probing by default
i2c-dev.h: Minimize differences with kernel flavor
Move SMBus helper functions to include/i2c/smbus.h

2
eeprom/decode-dimms

@ -1176,7 +1176,7 @@ sub decode_ddr3_sdram($)
printl("Module Type", ($bytes->[3] <= $#module_types) ?
$module_types[$bytes->[3]] :
sprint("Reserved (0x%.2X)", $bytes->[3]));
sprintf("Reserved (0x%.2X)", $bytes->[3]));
# speed
prints("Memory Characteristics");

Loading…
Cancel
Save