Fix an out of scope bzero

This commit is contained in:
Vicențiu Ciorbaru 2018-01-29 18:56:08 +02:00
parent 5edd129fbf
commit 7a63ffab71

View file

@ -258,7 +258,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize,
else
{
/* Clear mutex so that safe_mutex will notice that it's not initialized */
bzero((char*) &info->append_buffer_lock, sizeof(info));
bzero((char*) &info->append_buffer_lock, sizeof(info->append_buffer_lock));
}
#endif