about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-08-08 11:26:21 +0800
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-08-09 17:00:03 +0800
commit312ded0d6339e8c463d0395397b5825401b14f54 (patch)
tree9a1efd094636375011e36ae1741d2ab225d1f0ba /sysdeps/x86_64/multiarch
parent483cfe1a6a33d6335b1901581b41040d2d412511 (diff)
downloadglibc-312ded0d6339e8c463d0395397b5825401b14f54.tar.gz
glibc-312ded0d6339e8c463d0395397b5825401b14f54.tar.xz
glibc-312ded0d6339e8c463d0395397b5825401b14f54.zip
x86: Fix `#define STRCPY` guard in strcpy-sse2.S
`#ifndef STPCPY` is incorrect for checking if `STRCPY` is already
defined.  It doesn't end up mattering as the whole check is
guarded by `#if IS_IN (libc)` but is incorrect none the less.
Diffstat (limited to 'sysdeps/x86_64/multiarch')
-rw-r--r--sysdeps/x86_64/multiarch/strcpy-sse2.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S
index e29b411314..d6b9bae5f8 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S
@@ -22,7 +22,7 @@
 
 # include <sysdep.h>
 
-# ifndef STPCPY
+# ifndef STRCPY
 #  define STRCPY __strcpy_sse2
 # endif