summaryrefslogtreecommitdiff
path: root/sys/miscfs/fuse
diff options
context:
space:
mode:
authorhelg <helg@cvs.openbsd.org>2018-06-20 10:57:40 +0000
committerhelg <helg@cvs.openbsd.org>2018-06-20 10:57:40 +0000
commit69c494d79cfff0bc6f8ddcb5b56c9bb8e7aad9eb (patch)
tree9cebdca6d2d0d367aa944428d822c62a58d2dba2 /sys/miscfs/fuse
parentf54e33ae63f8bfd72e8a256f9d2e53c25536ef67 (diff)
Fix formatting.
Diffstat (limited to 'sys/miscfs/fuse')
-rw-r--r--sys/miscfs/fuse/fuse_vnops.c12
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;
}