diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-03-18 22:36:16 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-03-19 21:11:32 +0100 |
commit | 1bc48c0471a82ad63f88976979ed16e7a2ddcf1f (patch) | |
tree | 83f0dac8b0015d74a6d79714679c47af51c9c72d /src/fsck/fsck.c | |
parent | defa8e675b2903ad53e093bb2847c7256f0779a5 (diff) |
fsck: use %zu for size_t
cur and max were changed to size_t in ac6e2f0dfc2e800f01c79ecea2b811914110a7b9
update the format accordingly.
Diffstat (limited to 'src/fsck/fsck.c')
-rw-r--r-- | src/fsck/fsck.c | 2 |
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 */ |