From 514ead92ea6bcf99c491cf6837470927e9555cfc Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 21 May 2012 15:45:18 +0000 Subject: [PATCH] Add missing \n when generating pkg.conf Reported by: beat Approved by: des (mentor) MFC after: 1 day --- usr.sbin/pkg/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index e0bc4b3b5d44..b6c0207ed061 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -371,7 +371,7 @@ bootstrap_pkg(void) config = fopen(conf, "w+"); if (config == NULL) goto cleanup; - fprintf(config, "packagesite: %s", url); + fprintf(config, "packagesite: %s\n", url); fclose(config); }