libxc/trace: Fix style

Most of the functions follow the proper style, but these
two are the odd ones out.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Konrad Rzeszutek Wilk authored and Ian Campbell committed 2014-06-05 13:53:59 +01:00
1 parent 0b473ae885
commit 0d0eba7eae
1 file changed
+2 -2
+2 -2
View File
@@ -32,7 +32,7 @@ static int tbuf_enable(xc_interface *xch, int enable)
sysctl.cmd = XEN_SYSCTL_tbuf_op;
sysctl.interface_version = XEN_SYSCTL_INTERFACE_VERSION;
if (enable)
if ( enable )
sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_enable;
else
sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_disable;
@@ -121,7 +121,7 @@ int xc_tbuf_set_cpu_mask(xc_interface *xch, uint32_t mask)
uint64_t mask64 = mask;
bytemap = xc_hypercall_buffer_alloc(xch, bytemap, sizeof(mask64));
if (bytemap == NULL)
if ( bytemap == NULL )
{
PERROR("Could not allocate memory for xc_tbuf_set_cpu_mask hypercall");
goto out;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.