diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 04:45:41 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-19 04:45:41 +0000 |
| commit | 51c325635507e591f7a53b9d3e6b926da23fb845 (patch) | |
| tree | 15873620e8c172728a970f97ac59b728845f8697 /gnu/lib/libdialog/kernel.c | |
| parent | e314eb04c734963feae643dc1eada7a54e355232 (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
| -rw-r--r-- | gnu/lib/libdialog/kernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c index 25cf4b440d83..6f23b0f1acae 100644 --- a/gnu/lib/libdialog/kernel.c +++ b/gnu/lib/libdialog/kernel.c @@ -99,8 +99,10 @@ void init_dialog(void) exit(-1); #endif - if (initscr() == NULL) /* Init curses */ + if (initscr() == NULL) { /* Init curses */ + fprintf(stderr, "\nCurses initialization error.\n"); exit(-1); + } keypad(stdscr, TRUE); cbreak(); noecho(); |
