summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_mem.c')
-rw-r--r--src/mesa/shader/slang/slang_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_mem.c b/src/mesa/shader/slang/slang_mem.c
index 9224578edb0..dc5707a39b9 100644
--- a/src/mesa/shader/slang/slang_mem.c
+++ b/src/mesa/shader/slang/slang_mem.c
@@ -215,7 +215,7 @@ _slang_strdup(const char *s)
size_t l = _mesa_strlen(s);
char *s2 = (char *) _slang_alloc(l + 1);
if (s2)
- _mesa_strcpy(s2, s);
+ strcpy(s2, s);
return s2;
}
else {