From 04415666f7d7a0a405d16245ba1e2695eb7bd787 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 16 Jul 1997 20:10:14 +0000 Subject: (pager_read_page): Initialize READ to 0. --- storeio/pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storeio') diff --git a/storeio/pager.c b/storeio/pager.c index b70ca71c..d6bdc43e 100644 --- a/storeio/pager.c +++ b/storeio/pager.c @@ -38,7 +38,7 @@ pager_read_page (struct user_pager_info *upi, vm_offset_t page, vm_address_t *buf, int *writelock) { error_t err; - int read; /* bytes actually read */ + int read = 0; /* bytes actually read */ int want = vm_page_size; /* bytes we want to read */ struct dev *dev = (struct dev *)upi; struct store *store = dev->store; -- cgit v1.2.3