From e2dcd05b67c606e97f1d570123ba7510cc41bd16 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 11 Jan 2007 03:50:47 +0000 Subject: Update buffer-handling code to enable expandable buffers. --- src/proto/slam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/slam.c b/src/proto/slam.c index c55bf3073..171b6d243 100644 --- a/src/proto/slam.c +++ b/src/proto/slam.c @@ -314,7 +314,7 @@ static unsigned char *reinit_slam_state( return 0; } bitmap_len = (state.total_packets + 1 + 7)/8; - state.image = phys_to_virt ( state.buffer->start ); + state.image = phys_to_virt ( state.buffer->addr ); /* We don't use the buffer routines properly yet; fake it */ state.buffer->fill = total_bytes; state.bitmap = state.image + total_bytes; -- cgit v1.2.3-55-g7522