mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Init user_access_t struct in ipmi_user_priv()
This commit is contained in:
parent
0ff2d6e464
commit
12b85b3c7b
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user