remove trailing blanks

This commit is contained in:
Jim Meyering 2008-07-09 16:59:28 +00:00
parent f7896554e9
commit a626719f0c

View File

@ -245,7 +245,7 @@ static int openvzDomainShutdown(virDomainPtr dom) {
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(dom->conn, VIR_ERR_INTERNAL_ERROR, error(dom->conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return -1; return -1;
} }
@ -290,7 +290,7 @@ static int openvzDomainReboot(virDomainPtr dom,
} }
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(dom->conn, VIR_ERR_INTERNAL_ERROR, error(dom->conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return -1; return -1;
} }
@ -350,7 +350,7 @@ openvzDomainDefineXML(virConnectPtr conn, const char *xml)
} }
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
goto bail_out2; goto bail_out2;
} }
@ -419,7 +419,7 @@ openvzDomainCreateLinux(virConnectPtr conn, const char *xml,
} }
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return NULL; return NULL;
} }
@ -436,7 +436,7 @@ openvzDomainCreateLinux(virConnectPtr conn, const char *xml,
} }
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return NULL; return NULL;
} }
@ -491,7 +491,7 @@ openvzDomainCreate(virDomainPtr dom)
} }
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(dom->conn, VIR_ERR_INTERNAL_ERROR, error(dom->conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return -1; return -1;
} }
@ -535,7 +535,7 @@ openvzDomainUndefine(virDomainPtr dom)
} }
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZCTL); _("Could not exec %s"), VZCTL);
return -1; return -1;
} }
@ -628,7 +628,7 @@ static int openvzListDomains(virConnectPtr conn, int *ids, int nids) {
ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZLIST); _("Could not exec %s"), VZLIST);
return -1; return -1;
} }
@ -660,7 +660,7 @@ static int openvzListDefinedDomains(virConnectPtr conn,
/* the -S options lists only stopped domains */ /* the -S options lists only stopped domains */
ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd); ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd);
if(ret == -1) { if(ret == -1) {
error(conn, VIR_ERR_INTERNAL_ERROR, error(conn, VIR_ERR_INTERNAL_ERROR,
_("Could not exec %s"), VZLIST); _("Could not exec %s"), VZLIST);
return -1; return -1;
} }