WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] minios: have xenbus_printf return the err

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] minios: have xenbus_printf return the error returned by xenbus_write
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 06:10:10 -0800
Delivery-date: Thu, 28 Feb 2008 06:10:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] minios: have xenbus_printf return the error returned by xenbus_write, Xen patchbot-unstable <=