Skip to content

Commit d679661

Browse files
committed
fix: use raw os_id without shmem_ prefix in filename
1 parent 17735f3 commit d679661

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl ShmemConf {
139139

140140
if let Some(ref os_id) = self.os_id {
141141
// Use os_id as filename
142-
Ok(base_dir.join(format!("shmem_{os_id}")))
142+
Ok(base_dir.join(os_id))
143143
} else {
144144
// Generate random filename
145145
Ok(base_dir.join(format!("shmem_{:X}", rand::random::<u64>())))

0 commit comments

Comments
 (0)