]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 18 Feb 2022 23:00:25 +0000 (17:00 -0600)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 18 Feb 2022 23:40:50 +0000 (15:40 -0800)
commit24e95955aa538f71253f5c67a271aa09cbb460f6
tree54b815ef64325d8cbf01e04e68c1a0b0e6765ede
parent6f8e99b567f7ddb8178809af030c5305663b535e
x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c

Previously TEST_NAME was passing a function pointer. This didn't fail
because of the -Wno-error flag (to allow for overflow sizes passed
to strncmp/wcsncmp)

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit b98d0bbf747f39770e0caba7e984ce9f8f900330)
sysdeps/x86/tst-strncmp-rtm.c