]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: fix typo in the previous commit
authorKarel Zak <kzak@redhat.com>
Tue, 26 Aug 2014 20:19:11 +0000 (22:19 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Aug 2014 11:42:30 +0000 (13:42 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index fc5326340f9342049259124594ed02a264aa0b2d..afa3c246042a5a42734e16ea012e4d5e9704d44b 100644 (file)
@@ -1835,8 +1835,8 @@ static int main_menu_action(struct cfdisk *cf, int key)
                          buf, sizeof(buf));
 
                ref = 1;
-               if (rc <= 0 || (strcasecmp(buf, "yes") != 0
-                               && strcasecmp(buf, _("yes"))) != 0) {
+               if (rc <= 0 || (strcasecmp(buf, "yes") != 0 &&
+                               strcasecmp(buf, _("yes")) != 0)) {
                        info = _("Did not write partition table to disk");
                        break;
                }