diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 21232a96..f9403c6b 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -932,9 +932,9 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request) close(fd); throw std::runtime_error("Failed to get DRM version"); } - const std::string name = version->name ? version->name : "Unknown"; + const std::string name = version->name ? version->name : "Unknown"; const std::string description = version->desc ? version->desc : "Unknown"; - std::string GPUINFO = "GPU information:\n"; + std::string GPUINFO = "GPU information:\n"; GPUINFO += "GPU Type: " + name + "\n"; GPUINFO += "Driver Description: " + description + "\n"; diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index a4dfcc0a..e469301e 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -620,9 +620,9 @@ void logSystemInfo() { close(fd); throw std::runtime_error("Failed to get DRM version"); } - const std::string name = version->name ? version->name : "Unknown"; + const std::string name = version->name ? version->name : "Unknown"; const std::string description = version->desc ? version->desc : "Unknown"; - std::string GPUINFO; + std::string GPUINFO; GPUINFO += "GPU Type: " + name + "\n"; GPUINFO += "Driver Description: " + description + "\n";