From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Berger Subject: [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call Date: Tue, 14 Nov 2006 15:00:04 -0500 Message-ID: <1163534404.16202.2.camel@lt2.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-mFsEsfHiG/12QcXDzDhb" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org --=-mFsEsfHiG/12QcXDzDhb Content-Type: text/plain Content-Transfer-Encoding: 7bit Return a string from vtpm_get_backend() function call. Signed-off-by: Stefan Berger --=-mFsEsfHiG/12QcXDzDhb Content-Disposition: attachment; filename=libxen-vtpm-fix.diff Content-Type: text/x-patch; name=libxen-vtpm-fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h =================================================================== --- root.orig/xen-unstable.hg/tools/libxen/include/xen_vtpm.h +++ root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h @@ -196,7 +196,7 @@ xen_vtpm_get_vm(xen_session *session, xe * Get the backend field of the given VTPM. */ extern bool -xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm); +xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm); /** Index: root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c =================================================================== --- root.orig/xen-unstable.hg/tools/libxen/src/xen_vtpm.c +++ root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c @@ -170,7 +170,7 @@ xen_vtpm_get_vm(xen_session *session, xe bool -xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm) +xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm) { abstract_value param_values[] = { --=-mFsEsfHiG/12QcXDzDhb Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-mFsEsfHiG/12QcXDzDhb--