summaryrefslogtreecommitdiff
path: root/mysys/safemalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r--mysys/safemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index f43c860adb0..da15b02345b 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -524,7 +524,7 @@ char *_my_strdup(const char *from, const char *filename, uint lineno,
} /* _my_strdup */
-char *_my_strdup_with_length(const char *from, uint length,
+char *_my_strndup(const char *from, uint length,
const char *filename, uint lineno,
myf MyFlags)
{