Don't call sprintf() with no format string.
This commit is contained in:
parent
0074080b44
commit
ada79f6035
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62884
@ -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
Block a user