svn commit: r235726 - head/usr.sbin/pkg
Baptiste Daroussin
bapt at FreeBSD.org
Mon May 21 15:45:19 UTC 2012
Author: bapt
Date: Mon May 21 15:45:18 2012
New Revision: 235726
URL: http://svn.freebsd.org/changeset/base/235726
Log:
Add missing \n when generating pkg.conf
Reported by: beat
Approved by: des (mentor)
MFC after: 1 day
Modified:
head/usr.sbin/pkg/pkg.c
Modified: head/usr.sbin/pkg/pkg.c
==============================================================================
--- head/usr.sbin/pkg/pkg.c Mon May 21 15:01:35 2012 (r235725)
+++ head/usr.sbin/pkg/pkg.c Mon May 21 15:45:18 2012 (r235726)
@@ -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);
}
More information about the svn-src-head
mailing list