summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-08-15 02:27:52 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-08-15 02:27:52 +0000
commit7adabb0307977635c8a816b46b8f23b5df3bb7a0 (patch)
treeaeb5db1bc8f207d2234b06284390af00f3d277be /sys
parent8819412ab86028a654cc36e03fb9f08a6555df37 (diff)
remove parens that were copied from ndinit's previous life as a macro
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_lookup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index 0d4a2c43437..55d16894c8a 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_lookup.c,v 1.63 2016/04/29 14:40:36 beck Exp $ */
+/* $OpenBSD: vfs_lookup.c,v 1.64 2017/08/15 02:27:51 tedu Exp $ */
/* $NetBSD: vfs_lookup.c,v 1.17 1996/02/09 19:00:59 christos Exp $ */
/*
@@ -100,12 +100,12 @@ ndinitat(struct nameidata *ndp, u_long op, u_long flags,
enum uio_seg segflg, int dirfd, const char *namep, struct proc *p)
{
memset(ndp, 0, sizeof(*ndp));
- (ndp)->ni_cnd.cn_nameiop = op;
- (ndp)->ni_cnd.cn_flags = flags;
- (ndp)->ni_segflg = segflg;
- (ndp)->ni_dirfd = dirfd;
- (ndp)->ni_dirp = namep;
- (ndp)->ni_cnd.cn_proc = p;
+ ndp->ni_cnd.cn_nameiop = op;
+ ndp->ni_cnd.cn_flags = flags;
+ ndp->ni_segflg = segflg;
+ ndp->ni_dirfd = dirfd;
+ ndp->ni_dirp = namep;
+ ndp->ni_cnd.cn_proc = p;
}
/*