From: "Scott Parish" Subject: [PATCH] error to stderr Date: Tue, 11 Oct 2005 18:59:45 +0000 Message-ID: <20051011185945.GH3417@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline It'd save some trouble if errors went to stderr. sRp -- Scott Parish Signed-off-by: srparish@us.ibm.com --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="errors-to-stderr-please.diff" --- old-xen-build2/tools/libxc/xc_linux_build.c 2005-10-04 19:08:38.000000000 +0000 +++ new-xen-build2/tools/libxc/xc_linux_build.c 2005-10-11 21:09:00.000000000 +0000 @@ -502,7 +502,7 @@ static int setup_guest(int xc_handle, if ( (v_end - dsi.v_start) > (nr_pages * PAGE_SIZE) ) { - printf("Initial guest OS requires too much space\n" + PERROR("Initial guest OS requires too much space\n" "(%luMB is greater than %luMB limit)\n", (v_end-dsi.v_start)>>20, (nr_pages<>20); goto error_out; --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --cNdxnHkX5QqsyA0e--