internal: convert uname fields to strings before logging
fixes #4188, thanks @jbeich
This commit is contained in:
parent
11fd37418c
commit
ef445093f9
2 changed files with 6 additions and 6 deletions
|
|
@ -577,10 +577,10 @@ void logSystemInfo() {
|
|||
|
||||
uname(&unameInfo);
|
||||
|
||||
Debug::log(LOG, "System name: {}", unameInfo.sysname);
|
||||
Debug::log(LOG, "Node name: {}", unameInfo.nodename);
|
||||
Debug::log(LOG, "Release: {}", unameInfo.release);
|
||||
Debug::log(LOG, "Version: {}", unameInfo.version);
|
||||
Debug::log(LOG, "System name: {}", std::string{unameInfo.sysname});
|
||||
Debug::log(LOG, "Node name: {}", std::string{unameInfo.nodename});
|
||||
Debug::log(LOG, "Release: {}", std::string{unameInfo.release});
|
||||
Debug::log(LOG, "Version: {}", std::string{unameInfo.version});
|
||||
|
||||
Debug::log(NONE, "\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue