summaryrefslogtreecommitdiff
path: root/src/plugins/bmc/bmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bmc/bmc.c')
-rw-r--r--src/plugins/bmc/bmc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/bmc/bmc.c b/src/plugins/bmc/bmc.c
index b88b077..eee6936 100644
--- a/src/plugins/bmc/bmc.c
+++ b/src/plugins/bmc/bmc.c
@@ -68,11 +68,12 @@ static struct ipmi_rs *ipmi_bmc_send_cmd_putmsg(struct ipmi_intf *intf,
#define MESSAGE_BUFSIZE 1024
struct ipmi_intf ipmi_bmc_intf = {
- name: "bmc",
- desc: "IPMI v2.0 BMC interface",
- open: ipmi_bmc_open,
- close: ipmi_bmc_close,
- sendrecv: ipmi_bmc_send_cmd};
+ .name = "bmc",
+ .desc = "IPMI v2.0 BMC interface",
+ .open = ipmi_bmc_open,
+ .close = ipmi_bmc_close,
+ .sendrecv = ipmi_bmc_send_cmd
+};
void
ipmi_bmc_close(struct ipmi_intf *intf)