From: Karel Zak Date: Tue, 26 Aug 2014 20:19:11 +0000 (+0200) Subject: cfdisk: fix typo in the previous commit X-Git-Tag: v2.26-rc1~486 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59af21c3f294b9fdec62914568de0455cf884623;p=thirdparty%2Futil-linux.git cfdisk: fix typo in the previous commit Signed-off-by: Karel Zak --- diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 3f2698e467..c259329c13 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; }