# HG changeset patch
# User Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
# Date 1295979876 0
# Node ID b457e2520074179e76996446cdaaba5e17e46c67
# Parent 5429204f3c06d0acb7ef178f5bf225e32887e869
xl: fix up some minor mistakes in error messages
perl -i~ -pe 's/\\n.\"/\\n\"/' tools/libxl/*.c
Reported-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Acked-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/xl_cmdimpl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -r 5429204f3c06 -r b457e2520074 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Tue Jan 25 18:22:09 2011 +0000
+++ b/tools/libxl/xl_cmdimpl.c Tue Jan 25 18:24:36 2011 +0000
@@ -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 *
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
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)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|