diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-21 15:45:18 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-21 15:45:18 +0000 |
commit | f165b50eeb8794d3fdb987ed28cbe041442bbda8 (patch) | |
tree | e10ac046f2caa786ce07bcc4e238d912a6a99850 /usr.sbin | |
parent | e5877fa973d479bf9b7072452e3a77da884ad384 (diff) | |
download | FreeBSD-src-f165b50eeb8794d3fdb987ed28cbe041442bbda8.zip FreeBSD-src-f165b50eeb8794d3fdb987ed28cbe041442bbda8.tar.gz |
Add missing \n when generating pkg.conf
Reported by: beat
Approved by: des (mentor)
MFC after: 1 day
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg/pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index e0bc4b3..b6c0207 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); } |