summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorkaa@polly.local <>2004-12-19 12:57:34 +0300
committerkaa@polly.local <>2004-12-19 12:57:34 +0300
commit8bebebf82688496563902cb957baad5467804ac0 (patch)
tree50dd7eef35fc90614ab9f6786ec75af4894591e1 /innobase/os
parent4644e54f8f4b45d937ff46b69475f5c544791434 (diff)
downloadmariadb-git-8bebebf82688496563902cb957baad5467804ac0.tar.gz
Fixed cut&paste bug that broke compilation with compile-pentium-valgrind-max
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0proc.c b/innobase/os/os0proc.c
index 98254ae1055..dd2037695b7 100644
--- a/innobase/os/os0proc.c
+++ b/innobase/os/os0proc.c
@@ -565,7 +565,7 @@ os_mem_alloc_large(
if (ptr) {
if (set_to_zero) {
#ifdef UNIV_SET_MEM_TO_ZERO
- memset(ret, '\0', size);
+ memset(ptr, '\0', size);
#endif
}