diff options
Diffstat (limited to 'src/linux.rs')
-rw-r--r-- | src/linux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux.rs b/src/linux.rs index e9ee659..9d1f547 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -779,7 +779,7 @@ fn create_wayland_device( let mut wayland_socket_paths = cfg.wayland_socket_paths.clone(); if let Some(memfd_socket_path) = memfd_socket_path { - wayland_socket_paths.insert("__crosvm_memfd".to_string(), memfd_socket_path.into()); + wayland_socket_paths.insert(b"__crosvm_memfd".to_vec(), memfd_socket_path.into()); } let wayland_socket_dirs = wayland_socket_paths |