ID: 278 - Error in sol looptest

Commit fixes use of uninitialized variable in SOL "looptest".
This commit is contained in:
Zdenek Styblik 2013-12-17 05:17:55 +00:00
parent d42890ef17
commit ff1dbe3d5b

View File

@ -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;