summaryrefslogtreecommitdiff
path: root/storeio/pager.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-07-16 20:10:14 +0000
committerMiles Bader <miles@gnu.org>1997-07-16 20:10:14 +0000
commit04415666f7d7a0a405d16245ba1e2695eb7bd787 (patch)
treecf5b7fb6e0475ece0df502344ee8587e31b92b99 /storeio/pager.c
parent897292d294cba3ba3a89ccaf93b6edab2b3403d4 (diff)
(pager_read_page): Initialize READ to 0.
Diffstat (limited to 'storeio/pager.c')
-rw-r--r--storeio/pager.c2
1 files changed, 1 insertions, 1 deletions
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;