[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] tools/libs/ctrl/xc_vm_event.c: Remove redundant newlines from error messages
Messages printed with PERROR() do not need explicit newlines (\n) because they are added implicitly. Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> --- tools/libs/ctrl/xc_vm_event.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/libs/ctrl/xc_vm_event.c b/tools/libs/ctrl/xc_vm_event.c index a97c615b18..2ac27c71b2 100644 --- a/tools/libs/ctrl/xc_vm_event.c +++ b/tools/libs/ctrl/xc_vm_event.c @@ -58,7 +58,7 @@ void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, rc1 = xc_domain_pause(xch, domain_id); if ( rc1 != 0 ) { - PERROR("Unable to pause domain\n"); + PERROR("Unable to pause domain"); return NULL; } @@ -66,7 +66,7 @@ void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, rc1 = xc_hvm_param_get(xch, domain_id, param, &pfn); if ( rc1 != 0 ) { - PERROR("Failed to get pfn of ring page\n"); + PERROR("Failed to get pfn of ring page"); goto out; } @@ -80,7 +80,7 @@ void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, &ring_pfn); if ( rc1 != 0 ) { - PERROR("Failed to populate ring pfn\n"); + PERROR("Failed to populate ring pfn"); goto out; } } @@ -90,7 +90,7 @@ void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, &mmap_pfn, 1); if ( !ring_page ) { - PERROR("Could not map the ring page\n"); + PERROR("Could not map the ring page"); goto out; } @@ -124,7 +124,7 @@ void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, rc1 = xc_vm_event_control(xch, domain_id, op, mode, port); if ( rc1 != 0 ) { - PERROR("Failed to enable vm_event\n"); + PERROR("Failed to enable vm_event"); goto out; } -- 2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |