diff options
Diffstat (limited to 'isofs/pager.c')
-rw-r--r-- | isofs/pager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isofs/pager.c b/isofs/pager.c index 7a38ba33..d72a5144 100644 --- a/isofs/pager.c +++ b/isofs/pager.c @@ -68,6 +68,9 @@ pager_read_page (struct user_pager_info *upi, } err = store_read (store, addr, vm_page_size, (void **) buf, &read); + if (err) + return err; + if (read != vm_page_size) return EIO; |