Skip to content

Commit f49839a

Browse files
committed
Add comment
1 parent 54897f6 commit f49839a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shims/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
10841084
Ok(-1)
10851085
}
10861086
} else {
1087+
// The file is not writable
10871088
let einval = this.eval_libc("EINVAL")?;
10881089
this.set_last_error(einval)?;
10891090
Ok(-1)

0 commit comments

Comments
 (0)