From: Kruti Pendharkar Date: Tue, 22 Jul 2025 07:06:54 +0000 (-0700) Subject: Change to common source file not applicable to open-vm-tools. X-Git-Tag: stable-13.1.0~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e480c96a99c52f09aef2e7180996f67a359b59a0;p=thirdparty%2Fopen-vm-tools.git Change to common source file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/misc/hostinfoHV.c b/open-vm-tools/lib/misc/hostinfoHV.c index 77252b181..e2ee3b1ab 100644 --- a/open-vm-tools/lib/misc/hostinfoHV.c +++ b/open-vm-tools/lib/misc/hostinfoHV.c @@ -19,7 +19,7 @@ /* * hostinfoHV.c -- * - * Code to detect different hypervisors and features. + * Code to detect different hypervisors and features. */ #include @@ -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; }