summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/system.cpp b/src/utils/system.cpp
index c0bee11..d821dec 100644
--- a/src/utils/system.cpp
+++ b/src/utils/system.cpp
@@ -9,7 +9,7 @@ namespace utils
{
std::string get_system_name()
{
- struct utsname uts;
+ struct utsname uts{};
const int res = ::uname(&uts);
if (res == -1)
{