summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDmitrij Tejblum <dt@FreeBSD.org>1998-06-10 11:36:01 +0000
committerDmitrij Tejblum <dt@FreeBSD.org>1998-06-10 11:36:01 +0000
commit75065d2cd830b6f58cc041a28881de62143cc84a (patch)
treeae89704c228fb1dfb5a3dcb0401778a982474c1e /sys
parent897cd717a56fada7bcdb663c761885013df84a20 (diff)
downloadsrc-test2-75065d2cd830b6f58cc041a28881de62143cc84a.tar.gz
src-test2-75065d2cd830b6f58cc041a28881de62143cc84a.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/msdosfs/msdosfs_vnops.c4
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c
index 6ac533ca0e73..718692100702 100644
--- a/sys/fs/msdosfs/msdosfs_vnops.c
+++ b/sys/fs/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_vnops.c,v 1.70 1998/06/09 13:20:29 dt Exp $ */
+/* $Id: msdosfs_vnops.c,v 1.71 1998/06/10 06:30:31 peter Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.68 1998/02/10 14:10:04 mrg Exp $ */
/*-
@@ -473,7 +473,7 @@ msdosfs_setattr(ap)
(error = suser(cred, &ap->a_p->p_acflag)))
return error;
if (uid != pmp->pm_uid || gid != pmp->pm_gid)
- return EINVAL;
+ return EOPNOTSUPP;
}
if (vap->va_size != VNOVAL) {
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 6ac533ca0e73..718692100702 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_vnops.c,v 1.70 1998/06/09 13:20:29 dt Exp $ */
+/* $Id: msdosfs_vnops.c,v 1.71 1998/06/10 06:30:31 peter Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.68 1998/02/10 14:10:04 mrg Exp $ */
/*-
@@ -473,7 +473,7 @@ msdosfs_setattr(ap)
(error = suser(cred, &ap->a_p->p_acflag)))
return error;
if (uid != pmp->pm_uid || gid != pmp->pm_gid)
- return EINVAL;
+ return EOPNOTSUPP;
}
if (vap->va_size != VNOVAL) {