]> git.proxmox.com Git - pve-cluster.git/commitdiff
pmxcfs: vminfo_type_to_string: fixup indendation and parenthesis
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 Jun 2019 15:02:37 +0000 (17:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 Jun 2019 15:03:41 +0000 (17:03 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/status.c

index 177332d850c930c0ddb84ec5cd42bb0dfd642574..5e51d59a2c5816610b8f03e602e2064ee49d0733 100644 (file)
@@ -159,16 +159,17 @@ static void vminfo_free(vminfo_t *vminfo)
        g_free(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(
 }
 
 void cfs_clnode_destroy(