]> git.ozlabs.org Git - petitboot/commit
ui/ncurses/boot-editor: Fix (null) when non-device resources are shown
authorJeremy Kerr <jk@ozlabs.org>
Tue, 3 Dec 2013 11:28:10 +0000 (19:28 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 3 Dec 2013 11:28:10 +0000 (19:28 +0800)
commit350ef03d554a4c8f67e22bdf89fa888554f0b75e
tree31f5ab8ce49727f7a8c036c13906c48ff44d82fc
parent4d411d31deff5c4b2ad7d1689a9219c649843875
ui/ncurses/boot-editor: Fix (null) when non-device resources are shown

We're seeing the following in the boot editor:

 image:  (null)ftp://...

the (null) is due to the sep in conditional_prefix, which should be
blank, not NULL.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-boot-editor.c