From: Thomas Lamprecht Date: Wed, 12 Jun 2019 15:02:37 +0000 (+0200) Subject: pmxcfs: vminfo_type_to_string: fixup indendation and parenthesis X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=99abbd315065905edd67031709ba676add7848b2 pmxcfs: vminfo_type_to_string: fixup indendation and parenthesis Signed-off-by: Thomas Lamprecht --- diff --git a/data/src/status.c b/data/src/status.c index 177332d..5e51d59 100644 --- a/data/src/status.c +++ b/data/src/status.c @@ -159,16 +159,17 @@ static void vminfo_free(vminfo_t *vminfo) g_free(vminfo); } -static const char *vminfo_type_to_string(vminfo_t *vminfo) { - if (vminfo->vmtype == VMTYPE_QEMU) { - return "qemu"; - } else if (vminfo->vmtype == VMTYPE_OPENVZ) { - return "openvz"; - } else if (vminfo->vmtype == VMTYPE_LXC) { - return "lxc"; - } else { - return "unknown"; - } +static const char *vminfo_type_to_string(vminfo_t *vminfo) +{ + if (vminfo->vmtype == VMTYPE_QEMU) { + return "qemu"; + } else if (vminfo->vmtype == VMTYPE_OPENVZ) { + return "openvz"; + } else if (vminfo->vmtype == VMTYPE_LXC) { + return "lxc"; + } else { + return "unknown"; + } } void cfs_clnode_destroy(