summaryrefslogtreecommitdiff
path: root/quotacheck_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'quotacheck_v2.c')
-rw-r--r--quotacheck_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotacheck_v2.c b/quotacheck_v2.c
index de4293f..4cc8558 100644
--- a/quotacheck_v2.c
+++ b/quotacheck_v2.c
@@ -233,7 +233,7 @@ static int buffer_entry(dqbuf_t buf, uint blk, int *corrupted, uint * lblk, int
static void check_read_blk(int fd, uint blk, dqbuf_t buf)
{
- size_t rd;
+ ssize_t rd;
lseek(fd, blk << QT_BLKSIZE_BITS, SEEK_SET);
rd = read(fd, buf, QT_BLKSIZE);