summaryrefslogtreecommitdiffstats
path: root/fsck
diff options
context:
space:
mode:
authorKarel Zak2011-02-17 11:56:51 +0100
committerKarel Zak2011-02-17 11:56:51 +0100
commitf1c2eaac535bd9172a35ce39b6d8f392321f274d (patch)
tree7ec8d5f67da36bbc94a5af2873c0913d209a9f31 /fsck
parenttests: [cpuset] call free() for range (diff)
downloadkernel-qcow2-util-linux-f1c2eaac535bd9172a35ce39b6d8f392321f274d.tar.gz
kernel-qcow2-util-linux-f1c2eaac535bd9172a35ce39b6d8f392321f274d.tar.xz
kernel-qcow2-util-linux-f1c2eaac535bd9172a35ce39b6d8f392321f274d.zip
fsck: fix -C parsing
Reported-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fsck')
-rw-r--r--fsck/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck/fsck.c b/fsck/fsck.c
index a2dc44250..effc866f3 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -1324,8 +1324,8 @@ static void PRS(int argc, char *argv[])
if (progress_fd < 0)
progress_fd = 0;
else {
+ ++i;
goto next_arg;
- i++;
}
}
break;