direct-io.hg

changeset 7355:9d47f70345a4

Fix error output to stderr in xc_linux_build.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Oct 12 16:42:35 2005 +0100 (2005-10-12)
parents 52b9aca1916a
children af38c6b205f6
files tools/libxc/xc_linux_build.c
line diff
     1.1 --- a/tools/libxc/xc_linux_build.c	Wed Oct 12 16:34:49 2005 +0100
     1.2 +++ b/tools/libxc/xc_linux_build.c	Wed Oct 12 16:42:35 2005 +0100
     1.3 @@ -502,7 +502,7 @@ static int setup_guest(int xc_handle,
     1.4  
     1.5      if ( ((v_end - dsi.v_start)>>PAGE_SHIFT) > nr_pages )
     1.6      {
     1.7 -        printf("Initial guest OS requires too much space\n"
     1.8 +        PERROR("Initial guest OS requires too much space\n"
     1.9                 "(%luMB is greater than %luMB limit)\n",
    1.10                 (v_end-dsi.v_start)>>20, nr_pages>>(20-PAGE_SHIFT));
    1.11          goto error_out;