]> 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 02:08:10 +0000 (18:08 -0800)
commit7bbad8e3cfd7f6da3e4b17d84aea2465f6e8f713
tree17f40928bd3d0992fb8dad195153e20b61efa8fe
parent720263fcb8209ba3e43b8e6aa7049b375b88f988
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