Skip to content

Commit 3735247

Browse files
wan9chiCopilot
andcommitted
Update crates/fspy_preload_unix/src/client/mod.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: branchseer <3612422+branchseer@users.noreply.github.com>
1 parent 2932ae4 commit 3735247

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/fspy_preload_unix/src/client

crates/fspy_preload_unix/src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Client {
6868
let frame_size = NonZeroUsize::new(size_writer.bytes_written)
6969
.expect("fspy: encoded PathAccess should never be empty");
7070

71-
let mut frame = ipc_sender.claim_frame(frame_size).expect("fspy: shm buffer overflow");
71+
let mut frame = ipc_sender.claim_frame(frame_size).expect("fspy: failed to claim frame in shared memory");
7272
let written_size = encode_into_slice(&path_access, &mut frame, BINCODE_CONFIG)?;
7373
assert_eq!(written_size, size_writer.bytes_written);
7474

0 commit comments

Comments
 (0)