]> 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>
Tue, 26 Aug 2014 20:19:26 +0000 (22:19 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index 3f2698e467f7415041edbe91ca2e6020ca45af93..c259329c139a3c838292a0cf32e197139f9f199d 100644 (file)
@@ -1870,8 +1870,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;
                }