mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Return a POSIX-compliant error for write(2) failure.
This commit is contained in:
parent
a4771d5fb3
commit
30454e1977
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87074
@ -592,7 +592,7 @@ lomacfs_write(
|
||||
&lobj))
|
||||
error = VOP_WRITE(lvp, ap->a_uio, ap->a_ioflag, ap->a_cred);
|
||||
else
|
||||
error = EPERM;
|
||||
error = EIO;
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user