summaryrefslogtreecommitdiff
path: root/innobase/os/os0proc.c
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2004-12-19 12:57:34 +0300
committerunknown <kaa@polly.local>2004-12-19 12:57:34 +0300
commit2929563fe2f96bae14790beb36e9784da7950893 (patch)
tree50dd7eef35fc90614ab9f6786ec75af4894591e1 /innobase/os/os0proc.c
parent969cebfddc1358750b81bd7bf1781789b37b1ef4 (diff)
downloadmariadb-git-2929563fe2f96bae14790beb36e9784da7950893.tar.gz
Fixed cut&paste bug that broke compilation with compile-pentium-valgrind-max
Diffstat (limited to 'innobase/os/os0proc.c')
-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
}