summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nsd/buffer.c')
-rw-r--r--usr.sbin/nsd/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/buffer.c b/usr.sbin/nsd/buffer.c
index 67b11183309..e0f9859a24e 100644
--- a/usr.sbin/nsd/buffer.c
+++ b/usr.sbin/nsd/buffer.c
@@ -28,7 +28,7 @@ buffer_create(region_type *region, size_t capacity)
= (buffer_type *) region_alloc(region, sizeof(buffer_type));
if (!buffer)
return NULL;
-
+
buffer->_data = (uint8_t *) xalloc(capacity);
buffer->_position = 0;
buffer->_limit = buffer->_capacity = capacity;