user-access/rootfs/musl_mempcpy.patch

14 lines
451 B
Diff

diff --git a/lib/pr_fnmatch.c b/lib/pr_fnmatch.c
index 8e46a22..623321f 100644
--- a/lib/pr_fnmatch.c
+++ b/lib/pr_fnmatch.c
@@ -253,7 +253,7 @@ __wcschrnul (const wchar_t *s, wint_t c)
# ifdef HAVE_MEMPCPY
# define MEMPCPY(D, S, N) mempcpy (D, S, N)
# else
-# define MEMPCPY(D, S, N) __mempcpy (D, S, N)
+# define MEMPCPY(D, S, N) mempcpy (D, S, N)
# endif
# define MEMCHR(S, C, N) memchr (S, C, N)
# define STRCOLL(S1, S2) strcoll (S1, S2)