diff options
author | vaxerski <[email protected]> | 2022-12-07 22:47:32 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-12-07 22:47:32 +0000 |
commit | 6259202c0182fe3e7e36ab5b3010db567738375a (patch) | |
tree | ad40c8c57c8357951336334435d646dd68900299 | |
parent | e1d7a133334936be2ddd55754787dcdcf4a95515 (diff) | |
download | Hyprland-6259202c0182fe3e7e36ab5b3010db567738375a.tar.gz Hyprland-6259202c0182fe3e7e36ab5b3010db567738375a.zip |
add missing c_str in debug log
-rw-r--r-- | src/Compositor.cpp | 2 |
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!"); |