From 80f4b3ae490cc86c9eb0d5bac535b48676166a08 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 16 Sep 2011 15:49:18 -0500 Subject: [PATCH] fsck: fix -C option parsing The i++; statement is unreachable; fix same as commit f1c2eaac535bd9172a35ce39b6d8f392321f274d in util-linux Signed-off-by: Eric Sandeen Signed-off-by: Theodore Ts'o --- misc/fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/fsck.c b/misc/fsck.c index fe9426e..9345233 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -1179,8 +1179,8 @@ static void PRS(int argc, char *argv[]) if (progress_fd < 0) progress_fd = 0; else { + ++i; goto next_arg; - i++; } } break; -- 1.8.3.1