Commit 7a63ffab authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Fix an out of scope bzero

parent 5edd129f
...@@ -258,7 +258,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize, ...@@ -258,7 +258,7 @@ int init_io_cache(IO_CACHE *info, File file, size_t cachesize,
else else
{ {
/* Clear mutex so that safe_mutex will notice that it's not initialized */ /* 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 #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment