aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig/lxdialog/yesno.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lxdialog/yesno.c')
-rw-r--r--scripts/kconfig/lxdialog/yesno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lxdialog/yesno.c b/scripts/kconfig/lxdialog/yesno.c
index e938037c802..9fc24492c52 100644
--- a/scripts/kconfig/lxdialog/yesno.c
+++ b/scripts/kconfig/lxdialog/yesno.c
@@ -99,5 +99,5 @@ int dialog_yesno(const char *title, const char *prompt, int height, int width)
}
delwin(dialog);
- return -1; /* ESC pressed */
+ return 255; /* ESC pressed */
}