summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 790f58cb..eac1e9f8 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -191,7 +191,7 @@ pager_report_extent (struct user_pager_info *pager,
*offset = 0;
if (pager->type == DISK)
- *size = disk_pager_size;
+ *size = device_size;
else
*size = pager->np->allocsize;