mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 278 - Error in sol looptest
Commit fixes use of uninitialized variable in SOL "looptest".
This commit is contained in:
parent
d42890ef17
commit
ff1dbe3d5b
@ -2056,7 +2056,7 @@ ipmi_sol_main(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
/* SOL loop test: Activate and then Dectivate */
|
/* SOL loop test: Activate and then Dectivate */
|
||||||
int cnt = 200;
|
int cnt = 200;
|
||||||
int interval = 100; /* Unit is: ms */
|
int interval = 100; /* Unit is: ms */
|
||||||
uint8_t instance;
|
uint8_t instance = 1;
|
||||||
if (argc > 4) {
|
if (argc > 4) {
|
||||||
print_sol_usage();
|
print_sol_usage();
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user