diff --git a/src/backend/kms/surface/mod.rs b/src/backend/kms/surface/mod.rs index 33c08be6..8b866dad 100644 --- a/src/backend/kms/surface/mod.rs +++ b/src/backend/kms/surface/mod.rs @@ -444,7 +444,7 @@ fn surface_thread( thread_receiver: Channel, startup_done: Arc, ) -> Result<()> { - profiling::register_thread!(format!("Surface Thread {}", output.name())); + profiling::register_thread!(&format!("Surface Thread {}", output.name())); let mut event_loop = EventLoop::try_new().unwrap();