commit 160298c6fb4c5151ef58ef1556ae2c271d8a9a9e
parent a2745278eb03d63f4df8da4367f27ec8cab7deb9
Author: jvoisin <julien.voisin@dustri.org>
Date: Sat, 30 Sep 2023 19:24:02 +0200
Fix a typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/string.h b/include/string.h
@@ -73,7 +73,7 @@ _FORTIFY_FN(memmove) void *memmove(void * _FORTIFY_POS0 __d,
const void * _FORTIFY_POS0 __s, size_t __n)
{
#if __has_builtin(__builtin___memmove_chk) && USE_NATIVE_CHK
- return __builtin___memcpy_chk(__d, __s, __n, __bos(__d, 0));
+ return __builtin___memmove_chk(__d, __s, __n, __bos(__d, 0));
#else
size_t __bd = __bos(__d, 0);
size_t __bs = __bos(__s, 0);