summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_buf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_buf.c b/src/nxt_buf.c
index c764fecd..e2f1f047 100644
--- a/src/nxt_buf.c
+++ b/src/nxt_buf.c
@@ -144,7 +144,7 @@ nxt_buf_sync_alloc(nxt_mp_t *mp, nxt_uint_t flags)
{
nxt_buf_t *b;
- b = nxt_mp_zalloc(mp, NXT_BUF_SYNC_SIZE);
+ b = nxt_mp_zalloc(mp, NXT_BUF_MEM_SIZE);
if (nxt_fast_path(b != NULL)) {
b->data = mp;