debuggers.hg
changeset 22857:b457e2520074
xl: fix up some minor mistakes in error messages
perl -i~ -pe 's/\\n.\"/\\n\"/' tools/libxl/*.c
Reported-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
perl -i~ -pe 's/\\n.\"/\\n\"/' tools/libxl/*.c
Reported-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author | Ian Jackson <ian.jackson@eu.citrix.com> |
---|---|
date | Tue Jan 25 18:24:36 2011 +0000 (2011-01-25) |
parents | 5429204f3c06 |
children | 73b3debb90cf |
files | tools/libxl/xl_cmdimpl.c |
line diff
1.1 --- a/tools/libxl/xl_cmdimpl.c Tue Jan 25 18:22:09 2011 +0000 1.2 +++ b/tools/libxl/xl_cmdimpl.c Tue Jan 25 18:24:36 2011 +0000 1.3 @@ -2181,7 +2181,7 @@ static void destroy_domain(const char *p 1.4 exit(-1); 1.5 } 1.6 rc = libxl_domain_destroy(&ctx, domid, 0); 1.7 - if (rc) { fprintf(stderr,"destroy failed (rc=%d)\n.",rc); exit(-1); } 1.8 + if (rc) { fprintf(stderr,"destroy failed (rc=%d)\n",rc); exit(-1); } 1.9 } 1.10 1.11 static void shutdown_domain(const char *p, int wait) 1.12 @@ -2190,7 +2190,7 @@ static void shutdown_domain(const char * 1.13 1.14 find_domain(p); 1.15 rc=libxl_domain_shutdown(&ctx, domid, 0); 1.16 - if (rc) { fprintf(stderr,"shutdown failed (rc=%d)\n.",rc);exit(-1); } 1.17 + if (rc) { fprintf(stderr,"shutdown failed (rc=%d)\n",rc);exit(-1); } 1.18 1.19 if (wait) { 1.20 libxl_waiter waiter; 1.21 @@ -2232,7 +2232,7 @@ static void reboot_domain(const char *p) 1.22 int rc; 1.23 find_domain(p); 1.24 rc=libxl_domain_shutdown(&ctx, domid, 1); 1.25 - if (rc) { fprintf(stderr,"reboot failed (rc=%d)\n.",rc);exit(-1); } 1.26 + if (rc) { fprintf(stderr,"reboot failed (rc=%d)\n",rc);exit(-1); } 1.27 } 1.28 1.29 static void list_domains_details(const libxl_dominfo *info, int nb_domain) 1.30 @@ -2674,7 +2674,7 @@ static void core_dump_domain(const char 1.31 int rc; 1.32 find_domain(domain_spec); 1.33 rc=libxl_domain_core_dump(&ctx, domid, filename); 1.34 - if (rc) { fprintf(stderr,"core dump failed (rc=%d)\n.",rc);exit(-1); } 1.35 + if (rc) { fprintf(stderr,"core dump failed (rc=%d)\n",rc);exit(-1); } 1.36 } 1.37 1.38 static void migrate_receive(int debug, int daemonize)