]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/virt.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / basic / virt.c
index d5665edc1b90afce9cdb24cd46ed294ff35bf0ee..fdbb5018191529c054dea8b150e885fe7c9aa634 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -216,6 +217,7 @@ static int detect_vm_dmi(void) {
 }
 
 static int detect_vm_xen(void) {
+
         /* Check for Dom0 will be executed later in detect_vm_xen_dom0
            Thats why we dont check the content of /proc/xen/capabilities here. */
         if (access("/proc/xen/capabilities", F_OK) < 0) {
@@ -224,8 +226,7 @@ static int detect_vm_xen(void) {
         }
 
         log_debug("Virtualization XEN found (/proc/xen/capabilities exists)");
-        return  VIRTUALIZATION_XEN;
-
+        return VIRTUALIZATION_XEN;
 }
 
 static bool detect_vm_xen_dom0(void) {