diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-02-13 08:39:57 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2013-02-13 08:39:57 +0000 |
commit | 688f433d2c28869988086758fbd32e969683346c (patch) | |
tree | ad0b6dc6fec131e2a8f47072f4f767e9bffd9daa | |
parent | 53c65e22adf428c423746431f9f146f5083bbedf (diff) | |
download | i2c-tools-688f433d2c28869988086758fbd32e969683346c.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"); |