Add comment
This commit is contained in:
parent
54897f66f8
commit
f49839ac30
1 changed files with 1 additions and 0 deletions
|
|
@ -1084,6 +1084,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
Ok(-1)
|
||||
}
|
||||
} else {
|
||||
// The file is not writable
|
||||
let einval = this.eval_libc("EINVAL")?;
|
||||
this.set_last_error(einval)?;
|
||||
Ok(-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue