Add comment

This commit is contained in:
David Cook 2020-04-22 07:09:20 -05:00
parent 54897f66f8
commit f49839ac30

View file

@ -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)