From 02b52db0cbae53aaa2f6ff856e1ea46a4dad35f1 Mon Sep 17 00:00:00 2001 From: Wen Xiong Date: Wed, 11 Mar 2015 19:15:27 -0500 Subject: [PATCH] iprutils: "RAID level" box is empty when creating the array When customers try to create the array, the box for displaying "create RAID level" is empty. The patch fixes the issue. Signed-off-by: Wen Xiong Signed-off-by: Brian King --- iprconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iprconfig.c b/iprconfig.c index 7d45352..49f875c 100644 --- a/iprconfig.c +++ b/iprconfig.c @@ -10322,6 +10322,7 @@ int display_menu(ITEM **menu_item, box1_win = newwin(menu_rows + 2, menu_cols + 2, menu_start_row - 1, 54); field_win = newwin(menu_rows, menu_cols, menu_start_row, 55); set_menu_win(menu, field_win); + set_menu_sub(menu, derwin(field_win, menu_rows, menu_cols, 0, 0)); post_menu(menu); box(box1_win,ACS_VLINE,ACS_HLINE); if (use_box2) {