[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 02/17] xenpaging: remove perror usage in xenpaging_init error path
Use the libxc error macro to report errors if initialising xenpaging fails. Also report the actual errno string. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> --- tools/xenpaging/xenpaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c +++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c @@ -141,7 +141,7 @@ xenpaging_t *xenpaging_init(xc_interface ERROR("EPT not supported for this guest"); break; default: - perror("Error initialising shared page"); + ERROR("Error initialising shared page: %s", strerror(errno)); break; } goto err; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |