summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-01-22 07:52:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-01-22 07:52:39 +0000
commit769ba23bf760619d841e053cfc0eafffebe091c9 (patch)
tree5a2c9b6f742b0b0b462808643e2a45b9afbb4467 /sys/kern
parentc22fd84c86ea453e3fa2535530f6d328c384f08b (diff)
delete wasteful ;;
ok tedu
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_unveil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_unveil.c b/sys/kern/kern_unveil.c
index 48be1b60f9c..1a2f281e94b 100644
--- a/sys/kern/kern_unveil.c
+++ b/sys/kern/kern_unveil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_unveil.c,v 1.35 2019/11/29 20:58:17 guenther Exp $ */
+/* $OpenBSD: kern_unveil.c,v 1.36 2020/01/22 07:52:37 deraadt Exp $ */
/*
* Copyright (c) 2017-2019 Bob Beck <beck@openbsd.org>
@@ -95,7 +95,7 @@ unveil_save_traversed_vnode(struct nameidata *ndp, struct vnode *vp)
void
unvname_delete(struct unvname *name)
{
- free(name->un_name, M_PROC, name->un_namesize);;
+ free(name->un_name, M_PROC, name->un_namesize);
free(name, M_PROC, sizeof(struct unvname));
}