mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
maint: align whitespaces with project conventions.
This commit is contained in:
committed by
Martin Kletzander
parent
b70c093ffa
commit
721949059b
@@ -9846,11 +9846,11 @@ cmdDetachInterface(vshControl *ctl, const vshCmd *cmd)
|
||||
{
|
||||
virDomainPtr dom = NULL;
|
||||
xmlDocPtr xml = NULL;
|
||||
xmlXPathObjectPtr obj=NULL;
|
||||
xmlXPathObjectPtr obj = NULL;
|
||||
xmlXPathContextPtr ctxt = NULL;
|
||||
xmlNodePtr cur = NULL, matchNode = NULL;
|
||||
char *detach_xml = NULL;
|
||||
const char *mac =NULL, *type = NULL;
|
||||
const char *mac = NULL, *type = NULL;
|
||||
char *doc = NULL;
|
||||
char buf[64];
|
||||
int diff_mac;
|
||||
@@ -9986,7 +9986,7 @@ vshFindDisk(const char *doc,
|
||||
int type)
|
||||
{
|
||||
xmlDocPtr xml = NULL;
|
||||
xmlXPathObjectPtr obj= NULL;
|
||||
xmlXPathObjectPtr obj = NULL;
|
||||
xmlXPathContextPtr ctxt = NULL;
|
||||
xmlNodePtr cur = NULL;
|
||||
xmlNodePtr ret = NULL;
|
||||
|
||||
@@ -149,7 +149,7 @@ cmdFreecell(vshControl *ctl, const vshCmd *cmd)
|
||||
goto cleanup;
|
||||
}
|
||||
VIR_FREE(val);
|
||||
nodes_id[i]=id;
|
||||
nodes_id[i] = id;
|
||||
if (virNodeGetCellsFreeMemory(ctl->conn, &(nodes_free[i]),
|
||||
id, 1) != 1) {
|
||||
vshError(ctl, _("failed to get free memory for NUMA node "
|
||||
|
||||
@@ -117,7 +117,7 @@ cleanup:
|
||||
static char **virLoginShellGetShellArgv(virConfPtr conf)
|
||||
{
|
||||
size_t i;
|
||||
char **shargv=NULL;
|
||||
char **shargv = NULL;
|
||||
virConfValuePtr p;
|
||||
|
||||
p = virConfGetValue(conf, "shell");
|
||||
|
||||
Reference in New Issue
Block a user