svn commit: r235919 - stable/9/usr.sbin/pkg
Baptiste Daroussin
bapt at FreeBSD.org
Thu May 24 17:10:55 UTC 2012
Author: bapt
Date: Thu May 24 17:10:54 2012
New Revision: 235919
URL: http://svn.freebsd.org/changeset/base/235919
Log:
Add missing \n when generating pkg.conf
Reported by: beat
Approved by: des (mentor)
Modified:
stable/9/usr.sbin/pkg/pkg.c
Directory Properties:
stable/9/usr.sbin/ (props changed)
Modified: stable/9/usr.sbin/pkg/pkg.c
==============================================================================
--- stable/9/usr.sbin/pkg/pkg.c Thu May 24 16:48:33 2012 (r235918)
+++ stable/9/usr.sbin/pkg/pkg.c Thu May 24 17:10:54 2012 (r235919)
@@ -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-stable-9
mailing list