Don't call sprintf() with no format string.
This commit is contained in:
parent
0074080b44
commit
ada79f6035
|
@ -654,7 +654,7 @@ list(ac, av)
|
|||
if (rulenum != 0 && rulenum != p->pipe_nr)
|
||||
continue;
|
||||
if (p->if_name[0] != '\0')
|
||||
sprintf(buf, p->if_name);
|
||||
sprintf(buf, "%s", p->if_name);
|
||||
else if (b == 0)
|
||||
sprintf(buf, "unlimited");
|
||||
else if (b >= 1000000)
|
||||
|
|
Loading…
Reference in New Issue