aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-12-07 22:47:32 +0000
committervaxerski <[email protected]>2022-12-07 22:47:32 +0000
commit6259202c0182fe3e7e36ab5b3010db567738375a (patch)
treead40c8c57c8357951336334435d646dd68900299
parente1d7a133334936be2ddd55754787dcdcf4a95515 (diff)
downloadHyprland-6259202c0182fe3e7e36ab5b3010db567738375a.tar.gz
Hyprland-6259202c0182fe3e7e36ab5b3010db567738375a.zip
add missing c_str in debug log
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index f6f73b42..f282d55b 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -366,7 +366,7 @@ void CCompositor::startCompositor() {
if (m_sWLRSession /* Session-less Hyprland usually means a nest, don't update the env in that case */ && fork() == 0)
execl("/bin/sh", "/bin/sh", "-c", "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE", nullptr);
- Debug::log(LOG, "Running on WAYLAND_DISPLAY: %s", m_szWLDisplaySocket);
+ Debug::log(LOG, "Running on WAYLAND_DISPLAY: %s", m_szWLDisplaySocket.c_str());
if (!wlr_backend_start(m_sWLRBackend)) {
Debug::log(CRIT, "Backend did not start!");