diff options
author | Jean Delvare <jdelvare@suse.de> | 2013-02-13 08:39:57 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2013-02-13 08:39:57 +0000 |
commit | ee661452b512a5c5e050178c64825b30f28ecc6d (patch) | |
tree | ad0b6dc6fec131e2a8f47072f4f767e9bffd9daa | |
parent | 5030dfdc052026ac296e61f7151acaf88c722dc9 (diff) | |
download | i2c-tools-ee661452b512a5c5e050178c64825b30f28ecc6d.tar.gz |
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/trunk@6119 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | eeprom/decode-dimms | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -22,6 +22,7 @@ SVN HEAD Remove duplicate "ns" in SDR timings Add section headers for SDR modules Fix decoding of SDR SPD revision + Prevent hang on reserved DDR3 module type i2cdetect: Do a best effort detection if functionality is missing Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index 7f441a3..6bbdd17 100755 --- a/eeprom/decode-dimms +++ b/eeprom/decode-dimms @@ -1341,7 +1341,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"); |