ia64/xen-unstable

changeset 17136:6951fb517f5b

minios: have xenbus_printf return the error returned by xenbus_write
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 27 13:11:33 2008 +0000 (2008-02-27)
parents 368d3774a4b5
children 2b940e46857c
files extras/mini-os/xenbus/xenbus.c
line diff
     1.1 --- a/extras/mini-os/xenbus/xenbus.c	Wed Feb 27 13:10:42 2008 +0000
     1.2 +++ b/extras/mini-os/xenbus/xenbus.c	Wed Feb 27 13:11:33 2008 +0000
     1.3 @@ -637,9 +637,7 @@ char* xenbus_printf(xenbus_transaction_t
     1.4      va_start(args, fmt);
     1.5      vsprintf(val, fmt, args);
     1.6      va_end(args);
     1.7 -    xenbus_write(xbt,fullpath,val);
     1.8 -
     1.9 -    return NULL;
    1.10 +    return xenbus_write(xbt,fullpath,val);
    1.11  }
    1.12  
    1.13  static void do_ls_test(const char *pre)