Fix typo in "continuously" argument used in patrol auto command.
Obtained from: Sascha Wildner <saw att online dott de> Approved by: jhb MFC after: 3 days
This commit is contained in:
parent
849e836ec6
commit
0e24a634ce
@ -252,7 +252,7 @@ patrol_config(int ac, char **av)
|
|||||||
if (strcasecmp(av[1], "auto") == 0) {
|
if (strcasecmp(av[1], "auto") == 0) {
|
||||||
op_mode = MFI_PR_OPMODE_AUTO;
|
op_mode = MFI_PR_OPMODE_AUTO;
|
||||||
if (ac > 2) {
|
if (ac > 2) {
|
||||||
if (strcasecmp(av[2], "continously") == 0)
|
if (strcasecmp(av[2], "continuously") == 0)
|
||||||
exec_freq = 0xffffffff;
|
exec_freq = 0xffffffff;
|
||||||
else {
|
else {
|
||||||
val = strtol(av[2], &cp, 0);
|
val = strtol(av[2], &cp, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user