Date: Mon, 31 Dec 2007 07:20:51 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132158 for review Message-ID: <200712310720.lBV7Kped034286@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132158 Change 132158 by kmacy@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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712310720.lBV7Kped034286>