ia64/xen-unstable

changeset 7342:0fd84f168103

Error print on err path.
Signed-off-by: srparish@us.ibm.com
author kaf24@firebug.cl.cam.ac.uk
date Wed Oct 12 09:29:52 2005 +0100 (2005-10-12)
parents 456b91c81427
children 1fd8bd359118
files tools/libxc/xc_linux_build.c
line diff
     1.1 --- a/tools/libxc/xc_linux_build.c	Wed Oct 12 09:28:12 2005 +0100
     1.2 +++ b/tools/libxc/xc_linux_build.c	Wed Oct 12 09:29:52 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) > (nr_pages * PAGE_SIZE) )
     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<<PAGE_SHIFT)>>20);
    1.11          goto error_out;