Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Jul 18, 2024
1 parent dedf792 commit 0c998d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/zenoh-transport/src/shm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ pub fn map_zslice_to_shmbuf(zslice: &mut ZSlice, shmr: &ShmReader) -> ZResult<()
let shmbinfo: ShmBufInfo = codec.read(&mut reader).map_err(|e| zerror!("{:?}", e))?;

// Try to mount shmbuf and replace the content of the slice with mounted buf
// NOTE: SHM buffer read error is not a hard error becuse we do not want to
// NOTE: SHM buffer read error is not a hard error because we do not want to
// loose all the data in the whole ZBuf above. In case of error we just
// replace current ZSlice with an empty one
*zslice = match shmr.read_shmbuf(&shmbinfo) {
Expand Down

0 comments on commit 0c998d2

Please sign in to comment.