]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Tue, 21 Dec 2021 20:48:50 +0000 (12:48 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Tue, 21 Dec 2021 20:48:50 +0000 (12:48 -0800)
open-vm-tools/lib/misc/hostinfoPosix.c

index d656353cf5bf641ea56fb32d4d4a47666371ca25..8746cf15ff6a846258c81c1d4cac5e7bd9bfd9e6 100644 (file)
@@ -801,13 +801,17 @@ HostinfoESX(struct utsname *buf)  // IN:
       break;
 
    case 7:
+      Str_Strcpy(osName, STR_OS_VMKERNEL "7", sizeof osName);
+      break;
+
+   case 8:
    default:
       /*
        * New osName are created IFF the VMX/monitor requires them (rare),
        * not (simply) with every ESXi release.
        */
 
-      Str_Strcpy(osName, STR_OS_VMKERNEL "7", sizeof osName);
+      Str_Strcpy(osName, STR_OS_VMKERNEL "8", sizeof osName);
       break;
    }