cfdisk: fix ambiguous code

Signed-off-by: Karel Zak <kzak@redhat.com>