2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

2 digits are enough to print an I2C address.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5437 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2008-11-27 15:00:21 +00:00
parent 820d8d3c0e
commit 911b13eecf

View File

@@ -3144,7 +3144,7 @@ sub scan_isa_bus
$new_hash = add_isa_to_chips_detected($chip->{alias_detect}, $chip->{driver},
$new_hash);
if ($new_hash) {
printf " Alias of the chip on I2C bus `%s', address 0x%04x\n",
printf " Alias of the chip on I2C bus `%s', address 0x%02x\n",
$new_hash->{i2c_adap}, $new_hash->{i2c_addr};
}
}