diff options
author | Jean Delvare <jdelvare@suse.de> | 2013-02-13 13:37:09 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2013-02-13 13:37:09 +0000 |
commit | 7987d0d6429a7b1c74168ceaff5992c1637c3904 (patch) | |
tree | 5dd9dc17a34b34d978f94e54fd74261c88611e56 | |
parent | e1974d09457913f54cf7ac9c84f45188f4dc6672 (diff) | |
download | i2c-tools-git-7987d0d6429a7b1c74168ceaff5992c1637c3904.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/branches/i2c-tools-3.1@6121 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | eeprom/decode-dimms | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 diff --git a/eeprom/decode-dimms b/eeprom/decode-dimms index e28bbfd..3eed675 100755 --- a/eeprom/decode-dimms +++ b/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"); |