From: Keir Fraser Date: Wed, 27 Feb 2008 13:11:33 +0000 (+0000) Subject: minios: have xenbus_printf return the error returned by xenbus_write X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fbc5ef14eb7a7ce9ca6340239f9b40772a738cc4;p=people%2Fliuw%2Flibxenctrl-split%2Fmini-os.git minios: have xenbus_printf return the error returned by xenbus_write Signed-off-by: Samuel Thibault --- diff --git a/xenbus/xenbus.c b/xenbus/xenbus.c index dd3bccb..1a96ce2 100644 --- a/xenbus/xenbus.c +++ b/xenbus/xenbus.c @@ -637,9 +637,7 @@ char* xenbus_printf(xenbus_transaction_t xbt, 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)