mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-25 18:48:50 +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);
|
GetVersionEx(&info);
|
||||||
|
|
||||||
std::ostringstream msgbuf;
|
std::ostringstream msgbuf;
|
||||||
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion;
|
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion << "." << info.dwBuildNumber;
|
||||||
|
|
||||||
return msgbuf.str();
|
return msgbuf.str();
|
||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user