]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common source file not applicable to open-vm-tools.
authorKruti Pendharkar <kp025370@broadcom.com>
Tue, 22 Jul 2025 07:06:54 +0000 (00:06 -0700)
committerKruti Pendharkar <kp025370@broadcom.com>
Tue, 22 Jul 2025 07:06:54 +0000 (00:06 -0700)
open-vm-tools/lib/misc/hostinfoHV.c

index 77252b1814966a19f1e7082d4084201081db446c..e2ee3b1abd66cc15f1386e1e64eaec9ffbc0b583 100644 (file)
@@ -19,7 +19,7 @@
 /*
  * hostinfoHV.c --
  *
- *    Code to detect different hypervisors and features.
+ *      Code to detect different hypervisors and features.
  */
 
 #include <string.h>
@@ -433,7 +433,7 @@ void Hostinfo_BackdoorInOut(Backdoor_proto *myBp);
 /*
  *----------------------------------------------------------------------
  *
- *  Hostinfo_TouchBackDoor --
+ * Hostinfo_TouchBackDoor --
  *
  *      Access the backdoor. This is used to determine if we are
  *      running in a VM or on a physical host. On a physical host
@@ -445,7 +445,7 @@ void Hostinfo_BackdoorInOut(Backdoor_proto *myBp);
  *      return either TRUE or FALSE.
  *
  * Results:
- *      TRUE if we succesfully accessed the backdoor, FALSE or segfault
+ *      TRUE if we succesfully accessed the backdoor, FALSE or exception
  *      if not.
  *
  * Side effects:
@@ -487,7 +487,7 @@ Hostinfo_TouchBackDoor(void)
    }
 #endif // _WIN64
 
-   return (ebxval == BDOOR_MAGIC) ? TRUE : FALSE;
+   return ebxval == BDOOR_MAGIC;
 }