Return the state in the correct field.
Signed-off-by: Janne Huttunen <[email protected]>
---
lanserv/bmc_chassis.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lanserv/bmc_chassis.c b/lanserv/bmc_chassis.c
index 727b45e..322b970 100644
--- a/lanserv/bmc_chassis.c
+++ b/lanserv/bmc_chassis.c
@@ -193,7 +193,7 @@ handle_get_chassis_status(lmc_data_t *mc,
*rdata_len = 1;
return;
} else {
- rdata[0] = !!rv;
+ rdata[1] = !!rv;
}
rdata[2] = 0;
rdata[3] = 0;
--
2.7.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer