aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2001-11-28 23:02:33 +0000
committerBrian Feldman <green@FreeBSD.org>2001-11-28 23:02:33 +0000
commit30454e197770729f8548de8b25dc5a9987224b59 (patch)
treecaa2fe448e0c1b46a5fcbd014355caa744951574 /sys/security
parenta4771d5fb3a06554b000716369519ff1570e5644 (diff)
Notes
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/lomac/lomacfs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/lomac/lomacfs_vnops.c b/sys/security/lomac/lomacfs_vnops.c
index 4a2e3c10cc3e..ca4a18858f5e 100644
--- a/sys/security/lomac/lomacfs_vnops.c
+++ b/sys/security/lomac/lomacfs_vnops.c
@@ -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);
}