summaryrefslogtreecommitdiff
path: root/util/kconfig/lxdialog
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/lxdialog')
-rw-r--r--util/kconfig/lxdialog/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/kconfig/lxdialog/util.c b/util/kconfig/lxdialog/util.c
index f7abdeb92a..69b2fb59ac 100644
--- a/util/kconfig/lxdialog/util.c
+++ b/util/kconfig/lxdialog/util.c
@@ -383,7 +383,7 @@ void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
{
int newl, cur_x, cur_y;
int prompt_len, room, wlen;
- char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0;
+ char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = NULL;
strcpy(tempstr, prompt);