PERFORCE change 132158 for review
    Kip Macy 
    kmacy at FreeBSD.org
       
    Sun Dec 30 23:20:53 PST 2007
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=132158
Change 132158 by kmacy at pandemonium:kmacy:xen31 on 2007/12/31 07:20:04
	use updated xenbus interface
Affected files ...
.. //depot/projects/xen31/sys/i386/xen/xen_machdep.c#10 edit
Differences ...
==== //depot/projects/xen31/sys/i386/xen/xen_machdep.c#10 (text+ko) ====
@@ -969,15 +969,15 @@
 		 const char **vec, unsigned int len)
 {
 	char *str;
-	struct xenbus_transaction *xbt;
+	struct xenbus_transaction xbt;
 	int err, howto;
 	struct reboot_args uap;
 	
 	howto = 0;
 
  again:
-	xbt = xenbus_transaction_start();
-	if (IS_ERR(xbt))
+	err = xenbus_transaction_start(&xbt);
+	if (err)
 		return;
 	str = (char *)xenbus_read(xbt, "control", "shutdown", NULL);
 	/* Ignore read errors and empty reads. */
    
    
More information about the p4-projects
mailing list