Patch required to allow compiling at Fedora with -Werror=format-security

Provided by Mamoru Tasaka
This commit is contained in:
Holger Vogt 2022-10-21 15:26:20 +02:00
parent 3864edb941
commit ec43c65f56
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ static struct bridge *find_bridge(Evt_Node_Info_t *event_node,
dot = strrchr(buff, '.');
while (dot) {
if (!ok) {
snprintf(dot + 1, sizeof buff - (size_t)(dot - buff), vcc_parm);
snprintf(dot + 1, sizeof buff - (size_t)(dot - buff), "%s", vcc_parm);
vcc = nupa_get_param(buff, &ok);
}
if (ok)