From: Kruti Date: Mon, 15 Jul 2024 09:56:37 +0000 (-0700) Subject: Change to common source files not applicable to open-vm-tools. X-Git-Tag: stable-12.5.0~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bf397e2a039772cdc62d6a7248a38388d4a58d2;p=thirdparty%2Fopen-vm-tools.git Change to common source files not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/guest_os.h b/open-vm-tools/lib/include/guest_os.h index 56317c846..89ee3eb33 100644 --- a/open-vm-tools/lib/include/guest_os.h +++ b/open-vm-tools/lib/include/guest_os.h @@ -340,6 +340,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set); #define STR_OS_MANDRAKE "mandrake" #define STR_OS_MANDRAKE_FULL "Mandrake Linux" #define STR_OS_MANDRIVA "mandriva" +#define STR_OS_MIRACLE_LINUX "miraclelinux" #define STR_OS_MKLINUX "MkLinux" #define STR_OS_NOVELL "nld" #define STR_OS_NOVELL_FULL "Novell Linux Desktop 9" diff --git a/open-vm-tools/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c index d8609805c..4e93a9b1e 100644 --- a/open-vm-tools/lib/misc/hostinfoPosix.c +++ b/open-vm-tools/lib/misc/hostinfoPosix.c @@ -1422,7 +1422,7 @@ static const ShortNameSet shortNameArray[] = { { "linux-ppc", STR_OS_LINUX_PPC, HostinfoGenericSetShortName }, { "mandrake", STR_OS_MANDRAKE, HostinfoGenericSetShortName }, { "mandriva", STR_OS_MANDRIVA, HostinfoGenericSetShortName }, -{ "miracle linux", NULL, HostinfoSetAsianuxShortName }, +{ "miracle linux", STR_OS_MIRACLE_LINUX, HostinfoGenericSetShortName }, { "mklinux", STR_OS_MKLINUX, HostinfoGenericSetShortName }, { "opensuse", STR_OS_OPENSUSE, HostinfoGenericSetShortName }, { "oracle", NULL, HostinfoSetOracleShortName },