From 48acb31c28f76c793fbec67c1dc1df0137c84b50 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 25 Jan 2011 18:24:36 +0000 Subject: [PATCH] xl: fix up some minor mistakes in error messages perl -i~ -pe 's/\\n.\"/\\n\"/' tools/libxl/*.c Reported-by: Gianni Tedesco Signed-off-by: Ian Jackson Acked-by: Gianni Tedesco Committed-by: Ian Jackson --- tools/libxl/xl_cmdimpl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index ba2bc29e4b..26bf83cc30 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -2181,7 +2181,7 @@ static void destroy_domain(const char *p) exit(-1); } rc = libxl_domain_destroy(&ctx, domid, 0); - if (rc) { fprintf(stderr,"destroy failed (rc=%d)\n.",rc); exit(-1); } + if (rc) { fprintf(stderr,"destroy failed (rc=%d)\n",rc); exit(-1); } } static void shutdown_domain(const char *p, int wait) @@ -2190,7 +2190,7 @@ static void shutdown_domain(const char *p, int wait) find_domain(p); rc=libxl_domain_shutdown(&ctx, domid, 0); - if (rc) { fprintf(stderr,"shutdown failed (rc=%d)\n.",rc);exit(-1); } + if (rc) { fprintf(stderr,"shutdown failed (rc=%d)\n",rc);exit(-1); } if (wait) { libxl_waiter waiter; @@ -2232,7 +2232,7 @@ static void reboot_domain(const char *p) int rc; find_domain(p); rc=libxl_domain_shutdown(&ctx, domid, 1); - if (rc) { fprintf(stderr,"reboot failed (rc=%d)\n.",rc);exit(-1); } + if (rc) { fprintf(stderr,"reboot failed (rc=%d)\n",rc);exit(-1); } } static void list_domains_details(const libxl_dominfo *info, int nb_domain) @@ -2674,7 +2674,7 @@ static void core_dump_domain(const char *domain_spec, const char *filename) int rc; find_domain(domain_spec); rc=libxl_domain_core_dump(&ctx, domid, filename); - if (rc) { fprintf(stderr,"core dump failed (rc=%d)\n.",rc);exit(-1); } + if (rc) { fprintf(stderr,"core dump failed (rc=%d)\n",rc);exit(-1); } } static void migrate_receive(int debug, int daemonize) -- 2.39.5