From owner-svn-src-all@FreeBSD.ORG Mon May 21 15:45:19 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2647E1065670; Mon, 21 May 2012 15:45:19 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 11EA18FC17; Mon, 21 May 2012 15:45:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4LFjIYc063694; Mon, 21 May 2012 15:45:18 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4LFjISZ063692; Mon, 21 May 2012 15:45:18 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201205211545.q4LFjISZ063692@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 21 May 2012 15:45:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235726 - head/usr.sbin/pkg X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2012 15:45:19 -0000 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); }