[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix error output to stderr in xc_linux_build.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 9d47f70345a480caf4c2b7210de60179c2f31198
# Parent  52b9aca1916ace16c60955ee598bfc29ba45b9a6
Fix error output to stderr in xc_linux_build.
Signed-off-by: Scott Parish <srparish@xxxxxxxxxx>

diff -r 52b9aca1916a -r 9d47f70345a4 tools/libxc/xc_linux_build.c
--- a/tools/libxc/xc_linux_build.c      Wed Oct 12 15:34:49 2005
+++ b/tools/libxc/xc_linux_build.c      Wed Oct 12 15:42:35 2005
@@ -502,7 +502,7 @@
 
     if ( ((v_end - dsi.v_start)>>PAGE_SHIFT) > nr_pages )
     {
-        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-PAGE_SHIFT));
         goto error_out;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.