Init user_access_t struct in ipmi_user_priv()

This commit is contained in:
Zdenek Styblik 2015-01-16 20:49:06 +01:00
parent 0ff2d6e464
commit 12b85b3c7b

View File

@ -587,7 +587,7 @@ ipmi_user_test(struct ipmi_intf *intf, int argc, char **argv)
int int
ipmi_user_priv(struct ipmi_intf *intf, int argc, char **argv) ipmi_user_priv(struct ipmi_intf *intf, int argc, char **argv)
{ {
struct user_access_t user_access; struct user_access_t user_access = {0};
int ccode = 0; int ccode = 0;
if (argc != 3 && argc != 4) { if (argc != 3 && argc != 4) {