]> git.ozlabs.org Git - petitboot/blobdiff - discover/boot.c
ui/ncurses: Update config screen help text
[petitboot] / discover / boot.c
index 6e7fda6559caaa873dd99520d5e1cd68398b89bb..7778b3fd02bc21f588e260e08cb888d20b4a266a 100644 (file)
@@ -177,7 +177,7 @@ static void boot_hook_update(struct boot_task *task, const char *hookname,
                char *buf)
 {
        char *line, *name, *val, *sep;
-       char *saveptr;
+       char *saveptr = NULL;
 
        for (;; buf = NULL) {