diff options
Diffstat (limited to 'sys/miscfs/fuse/fuse_vnops.c')
-rw-r--r-- | sys/miscfs/fuse/fuse_vnops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/miscfs/fuse/fuse_vnops.c b/sys/miscfs/fuse/fuse_vnops.c index 62325073b48..0c2fc2e4e33 100644 --- a/sys/miscfs/fuse/fuse_vnops.c +++ b/sys/miscfs/fuse/fuse_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_vnops.c,v 1.47 2018/06/19 13:01:34 helg Exp $ */ +/* $OpenBSD: fuse_vnops.c,v 1.48 2018/06/20 10:57:39 helg Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -544,12 +544,12 @@ fusefs_setattr(void *v) } /* - * chmod returns EFTYPE if the effective user ID is not the - * super-user, the mode includes the sticky bit (S_ISVTX), and - * path does not refer to a directory + * chmod returns EFTYPE if the effective user ID is not the + * super-user, the mode includes the sticky bit (S_ISVTX), and + * path does not refer to a directory */ - if (cred->cr_uid != 0 && vp->v_type != VDIR && - (vap->va_mode & S_ISTXT)) { + if (cred->cr_uid != 0 && vp->v_type != VDIR && + (vap->va_mode & S_ISTXT)) { error = EFTYPE; goto out; } |