mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-24 18:28:00 +02:00
Utility::GetPlatformKernelVersion(): also output the build number
I.e. output 6.2.9200, not just 6.2.
This commit is contained in:
parent
4bcf0f20dd
commit
fc41da350a
@ -1749,7 +1749,7 @@ String Utility::GetPlatformKernelVersion()
|
||||
GetVersionEx(&info);
|
||||
|
||||
std::ostringstream msgbuf;
|
||||
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion;
|
||||
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion << "." << info.dwBuildNumber;
|
||||
|
||||
return msgbuf.str();
|
||||
#else /* _WIN32 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user