projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ui/ncurses/boot-editor: Fix (null) when non-device resources are shown
[petitboot]
/
ui
/
ncurses
/
nc-boot-editor.c
diff --git
a/ui/ncurses/nc-boot-editor.c
b/ui/ncurses/nc-boot-editor.c
index 86fba4d8d2da3ef62957e15fc8c017e5d4f1fa45..57cc0dc1cfac4eb6bfd3761123f4962f3f8a5238 100644
(file)
--- a/
ui/ncurses/nc-boot-editor.c
+++ b/
ui/ncurses/nc-boot-editor.c
@@
-136,7
+136,7
@@
static char *conditional_prefix(struct pb_boot_data *ctx,
if (!value || !*value)
return NULL;
- sep =
NULL
;
+ sep =
""
;
if (!prefix)
prefix = "";
else if (prefix[strlen(prefix)] != '/')