Skip to contentSkip to conversation

error to stderr

PATCH In review Scott Parish 1 participant 2 messages Oct 11, 2005 – Oct 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 error to stderr

It'd save some trouble if errors went to stderr.

sRp

Signature · 2 lines
Scott Parish
Signed-off-by: [email protected]
tools/libxc/xc_linux_build.c +1 -1
@@ -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<<PAGE_SHIFT)>>20);
         goto error_out;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

It looks like my second patch somehow reverted this patch. Could i please get this reapplied?

Thanks
sRp

Quoted 14 lines · Scott Parish

It'd save some trouble if errors went to stderr.

sRp

Signature · 8 lines
Scott Parish
Signed-off-by: [email protected]

<errors-to-stderr-please.diff>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel