summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fsck/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index 6e46633025..bd17948a29 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -159,7 +159,7 @@ static int process_progress(int fd, pid_t fsck_pid, dev_t device_num) {
FsckProgress progress;
FsckdMessage fsckd_message;
- if (fscanf(f, "%i %lu %lu %ms", &pass, &cur, &max, &device) != 4)
+ if (fscanf(f, "%i %zu %zu %ms", &pass, &cur, &max, &device) != 4)
break;
/* Only update once every 50ms */