diff options
author | dt <dt@FreeBSD.org> | 1998-06-10 11:36:01 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1998-06-10 11:36:01 +0000 |
commit | c5ee56643ee6805f0c73044c97ded8bd39efef38 (patch) | |
tree | 9b8d4bcd13b727ef660a1affeba0b0d6355405a9 /sys/msdosfs | |
parent | 224577d6cf4d0daf37dddd81b9f9c646ad2be083 (diff) | |
download | FreeBSD-src-c5ee56643ee6805f0c73044c97ded8bd39efef38.zip FreeBSD-src-c5ee56643ee6805f0c73044c97ded8bd39efef38.tar.gz |
Also return EOPNOTSUPP rather than EINVAL for not supported owner and group
changes.
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index 6ac533c..7186921 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) { |