From owner-svn-src-head@FreeBSD.ORG Tue Nov 5 14:07:31 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 47BE1D56; Tue, 5 Nov 2013 14:07:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3543B2A12; Tue, 5 Nov 2013 14:07:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA5E7VX9092230; Tue, 5 Nov 2013 14:07:31 GMT (envelope-from theraven@svn.freebsd.org) Received: (from theraven@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA5E7Vmh092229; Tue, 5 Nov 2013 14:07:31 GMT (envelope-from theraven@svn.freebsd.org) Message-Id: <201311051407.rA5E7Vmh092229@svn.freebsd.org> From: David Chisnall Date: Tue, 5 Nov 2013 14:07:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257703 - head/usr.bin/dtc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 14:07:31 -0000 Author: theraven Date: Tue Nov 5 14:07:30 2013 New Revision: 257703 URL: http://svnweb.freebsd.org/changeset/base/257703 Log: When writing DTS to a file, don't write some of it to stderr. Reported by: ray Modified: head/usr.bin/dtc/fdt.cc Modified: head/usr.bin/dtc/fdt.cc ============================================================================== --- head/usr.bin/dtc/fdt.cc Tue Nov 5 13:48:34 2013 (r257702) +++ head/usr.bin/dtc/fdt.cc Tue Nov 5 14:07:30 2013 (r257703) @@ -1190,7 +1190,7 @@ device_tree::write_dts(int fd) for (std::vector::iterator i=reservations.begin(), e=reservations.end() ; i!=e ; ++i) { - fprintf(stderr, " %" PRIx64 " %" PRIx64, i->first, i->second); + fprintf(file, " %" PRIx64 " %" PRIx64, i->first, i->second); } fputs(";\n\n", file); }