bootentries: Move menu display string allocation to bootentries_alloc()
bootentries_alloc() is the place where the struct bootentries container
is allocated, so allocate the menu entry there aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 86a4036 commit 3ab18b3cd0a07fc6b84248b84dacd3330f02189e
@Sascha Hauer Sascha Hauer authored on 20 Jul 2016
Showing 1 changed file
View
commands/boot.c