summaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index cf09a16d..61f775c4 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1,6 +1,6 @@
/* Pager for ext2fs
- Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu>
@@ -395,7 +395,7 @@ static error_t
disk_pager_read_page (vm_offset_t page, void **buf, int *writelock)
{
error_t err;
- size_t length = vm_page_size, read;
+ size_t length = vm_page_size, read = 0;
vm_size_t dev_end = store->size;
if (page + vm_page_size > dev_end)