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

[Xen-changelog] [xen-unstable] minios: have xenbus_printf return the error returned by xenbus_write



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204117893 0
# Node ID 6951fb517f5b29b36b80a9d0c0772190d288249c
# Parent  368d3774a4b5f629f9eb91c77c4a36a436c341e0
minios: have xenbus_printf return the error returned by xenbus_write
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/xenbus/xenbus.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 368d3774a4b5 -r 6951fb517f5b extras/mini-os/xenbus/xenbus.c
--- a/extras/mini-os/xenbus/xenbus.c    Wed Feb 27 13:10:42 2008 +0000
+++ b/extras/mini-os/xenbus/xenbus.c    Wed Feb 27 13:11:33 2008 +0000
@@ -637,9 +637,7 @@ char* xenbus_printf(xenbus_transaction_t
     va_start(args, fmt);
     vsprintf(val, fmt, args);
     va_end(args);
-    xenbus_write(xbt,fullpath,val);
-
-    return NULL;
+    return xenbus_write(xbt,fullpath,val);
 }
 
 static void do_ls_test(const char *pre)

_______________________________________________
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®.