diff options
Diffstat (limited to 'cmd/pxe.c')
-rw-r--r-- | cmd/pxe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/pxe.c b/cmd/pxe.c index 7649d92b6bd..5609545de57 100644 --- a/cmd/pxe.c +++ b/cmd/pxe.c @@ -1453,8 +1453,8 @@ static struct menu *pxe_menu_to_menu(struct pxe_menu *cfg) /* * Create a menu and add items for all the labels. */ - m = menu_create(cfg->title, cfg->timeout, cfg->prompt, label_print, - NULL, NULL); + m = menu_create(cfg->title, DIV_ROUND_UP(cfg->timeout, 10), + cfg->prompt, label_print, NULL, NULL); if (!m) return NULL; |