Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <[email protected]>
  • Loading branch information
YohDeadfall and RalfJung authored Jan 29, 2025
1 parent f57d4cc commit 2c5c6d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shims/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ trait EvalContextExtPrivate<'tcx>: crate::MiriInterpCxExt<'tcx> {

if matches!(&*this.tcx.sess.target.os, "solaris" | "illumos") {
let st_fstype = this.project_field_named(&buf, "st_fstype")?;
// This is an array; write 0 into first element so that it encodes the empty string.
this.write_int(0, &this.project_index(&st_fstype, 0)?)?;
}

Expand Down

0 comments on commit 2c5c6d7

Please sign in to comment.