]> granicus.if.org Git - procps-ng/commit
pgrep: Fix format security
authorCraig Small <csmall@dropbear.xyz>
Tue, 2 Nov 2021 06:19:37 +0000 (17:19 +1100)
committerCraig Small <csmall@dropbear.xyz>
Tue, 2 Nov 2021 06:19:37 +0000 (17:19 +1100)
commit2e0e865ca5f8252b84571b23bb7be0fa76faacfb
treeb65951b9b70b854c4a474f7bef2d9b7dfb364cde
parentf3e52900128c0d536a747433fd4120b5f1de1e7d
pgrep: Fix format security

do_regcomp() error message didn't use a string literal for the format string.

pgrep.c:538:24: error: format not a string literal and no format arguments
[-Werror=format-security]

Signed-off-by: Craig Small <csmall@dropbear.xyz>
pgrep.c