diff options
Diffstat (limited to 'discover/boot.c')
-rw-r--r-- | discover/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/boot.c b/discover/boot.c index 6e7fda6..7778b3f 100644 --- a/discover/boot.c +++ b/discover/boot.c @@ -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) { |