mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-27 07:26:16 +00:00
tools/gcc-plugin: fix format precision/width type
`%*.*pEXT` applied the extension type to the precision and width (*.*) too. Oops. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
694df37daf
commit
23922bbc08
@ -2343,7 +2343,7 @@ check_argument_type (const format_char_info *fci,
|
||||
/* note printf extension type checks are *additional* - %p must always
|
||||
* be pointer compatible, %d always int compatible.
|
||||
*/
|
||||
if (!kef)
|
||||
if (first_wanted_type->kind != CF_KIND_FORMAT || !kef)
|
||||
return true;
|
||||
|
||||
const struct kernel_ext_fmt *kef_now;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user