summaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2014-08-26 22:19:11 +0200
committerKarel Zak2014-08-26 22:19:26 +0200
commit59af21c3f294b9fdec62914568de0455cf884623 (patch)
tree9c2d771b30ed7917349aa8539c2096a4514d303b /disk-utils/cfdisk.c
parentcfdisk: wrong interpretation of yes in non-english language (diff)
downloadkernel-qcow2-util-linux-59af21c3f294b9fdec62914568de0455cf884623.tar.gz
kernel-qcow2-util-linux-59af21c3f294b9fdec62914568de0455cf884623.tar.xz
kernel-qcow2-util-linux-59af21c3f294b9fdec62914568de0455cf884623.zip
cfdisk: fix typo in the previous commit
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 3f2698e46..c259329c1 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -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;
}