Fixed cut&paste bug that broke compilation with compile-pentium-valgrind-max

This commit is contained in:
kaa@polly.local 2004-12-19 12:57:34 +03:00
parent 4644e54f8f
commit 8bebebf826

View file

@ -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
}