commit | 1d3a04a3a4be8682d4317251fc14e81ad655d58a | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Nov 28 01:22:57 2016 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Mon Nov 28 01:22:57 2016 +0100 |
tree | 2ee72930778afa3a223327fec714c81d936f82dc | |
parent | 038a977d47c99c3e59d7a2393799b2afa838604c [diff] [blame] |
Code style fixes, no code changes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 59514a1..6414988 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c
@@ -658,7 +658,7 @@ return (G.instance_list != NULL); for (inst = G.instance_list; inst; inst = inst->next) { - if (!inst->base_device || !strcmp(base, inst->base_device)) { + if (!inst->base_device || strcmp(base, inst->base_device) == 0) { free(base); return 1; }