Hello,
I guess there's a bug in the computation on the free space value in
ipmi_sdr_print_info(). The LSB is the first byte.
--- ipmi_sdr.c 2007-05-29 09:40:49.000000000 +0200
+++ ipmi_sdr.c.new 2007-09-05 17:26:15.000000000 +0200
@@ -3835,8 +3835,8 @@
sdr_repository_info.record_count_lsb);
free_space =
- (sdr_repository_info.free_space[0] << 8) |
- sdr_repository_info.free_space[1];
+ (sdr_repository_info.free_space[1] << 8) |
+ sdr_repository_info.free_space[0];
printf("Free Space : ");
switch (free_space) {
Regards,
--
BenoƮt Guillon [EMAIL PROTECTED]
TCT/3S tel. : 33 (0)4 98 16 33 90
THALES COMPUTERS
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ipmitool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel