summaryrefslogtreecommitdiff
path: root/lib/ipmi_firewall.c
diff options
context:
space:
mode:
authorZdenek Styblik <stybla@turnovfree.net>2016-05-30 20:19:33 +0200
committerZdenek Styblik <stybla@turnovfree.net>2016-05-30 20:19:33 +0200
commita7b0c213f983089b2e0aa956da47eb3043890f1d (patch)
treec7959e4def54c63583a09fa9964bd2c8e0b46c59 /lib/ipmi_firewall.c
parent70253df0323da9747c6c5999f2a5a55f4f4d7ecb (diff)
downloadipmitool-a7b0c213f983089b2e0aa956da47eb3043890f1d.tar.gz
ID:355 - Fix missing struct initializers in lib/ipmi_firewall.c
Diffstat (limited to 'lib/ipmi_firewall.c')
-rw-r--r--lib/ipmi_firewall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ipmi_firewall.c b/lib/ipmi_firewall.c
index c3f51ad..6d2d3bf 100644
--- a/lib/ipmi_firewall.c
+++ b/lib/ipmi_firewall.c
@@ -899,7 +899,7 @@ static int
ipmi_firewall_info(struct ipmi_intf * intf, int argc, char ** argv)
{
int ret = 0;
- struct ipmi_function_params p = {0xe, -1, -1, -1, -1};
+ struct ipmi_function_params p = {0xe, -1, -1, -1, -1, 0};
struct bmc_fn_support * bmc_fn_support;
unsigned int l, n, c;
@@ -1012,7 +1012,7 @@ ipmi_firewall_info(struct ipmi_intf * intf, int argc, char ** argv)
static int
ipmi_firewall_enable_disable(struct ipmi_intf * intf, int enable, int argc, char ** argv)
{
- struct ipmi_function_params p = {0xe, -1, -1, -1, -1};
+ struct ipmi_function_params p = {0xe, -1, -1, -1, -1, 0};
struct bmc_fn_support * bmc_fn_support;
int ret;
unsigned int l, n, c;
@@ -1103,7 +1103,7 @@ ipmi_firewall_enable_disable(struct ipmi_intf * intf, int enable, int argc, char
static int
ipmi_firewall_reset(struct ipmi_intf * intf, int argc, char ** argv)
{
- struct ipmi_function_params p = {0xe, -1, -1, -1, -1};
+ struct ipmi_function_params p = {0xe, -1, -1, -1, -1, 0};
struct bmc_fn_support * bmc_fn_support;
int ret;
unsigned int l, n, c;