]> 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>
Sat, 19 Feb 2022 03:16:46 +0000 (19:16 -0800)
commitf1267ef5fa3d518cc4f192a5d119fcb259958348
treec6d94ca1e6292e669784977b375a4e44f501c4b9
parentc9ea3126b8d7ea0b5aa67e5788a27f7e58814ad0
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