]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-boot-editor.c
ui/ncurses/boot-editor: Fix (null) when non-device resources are shown
[petitboot] / ui / ncurses / nc-boot-editor.c
index 86fba4d8d2da3ef62957e15fc8c017e5d4f1fa45..57cc0dc1cfac4eb6bfd3761123f4962f3f8a5238 100644 (file)
@@ -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)] != '/')