summaryrefslogtreecommitdiffstats
path: root/lib/vio_fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vio_fifo.c')
-rw-r--r--lib/vio_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vio_fifo.c b/lib/vio_fifo.c
index 52e0d2df..65f19411 100644
--- a/lib/vio_fifo.c
+++ b/lib/vio_fifo.c
@@ -332,7 +332,7 @@ vio_fifo_new(ulen size)
if (vio_fifo_debug)
size = 29 ;
- total_size = offsetof(struct vio_fifo, own_lump->data[size]) ;
+ total_size = offsetof(struct vio_fifo, own_lump[0].data[size]) ;
vff = XCALLOC(MTYPE_VIO_FIFO, total_size) ;