mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Mark a function as __printflike() and fix a non-exploitable format string
warning. MFC after: 1 week
This commit is contained in:
parent
8de9ed220e
commit
013fab318c
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ length(tp, name)
|
|||
switch (tp->t_tspec) {
|
||||
case FUNC:
|
||||
/* compiler takes size of function */
|
||||
lerror(msgs[12]);
|
||||
lerror("%s", msgs[12]);
|
||||
/* NOTREACHED */
|
||||
case STRUCT:
|
||||
case UNION:
|
||||
|
|
|
|||
Loading…
Reference in a new issue