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);
        }
 
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to