mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 19:26:13 +01:00
Fix wrong order of arguments in memset()
CID 4119.
This commit is contained in:
parent
d2a423e499
commit
91a7326a04
@ -430,7 +430,7 @@ create_pool(int block_size, int alignment, int next_ofs,
|
||||
if (pool == NULL)
|
||||
return NULL;
|
||||
|
||||
memset(pool, sizeof(*pool), 0);
|
||||
memset(pool, 0, sizeof(*pool));
|
||||
|
||||
mutex_init(&pool->mutex, "locked_pool");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user