summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-06 13:32:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-06 13:32:19 +0000
commit61e55104902d17834e27880ca0f207249a37c46f (patch)
treedb538cb6db9843e66b8c1e8a0516f33b8f15810d /usr.sbin/ospf6d
parent2b0390da42afe73f604d72f63adf5699da8b9d3f (diff)
repair missing paths on unveil failure
Diffstat (limited to 'usr.sbin/ospf6d')
-rw-r--r--usr.sbin/ospf6d/ospf6d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c
index 40732a43b53..b1193eaf336 100644
--- a/usr.sbin/ospf6d/ospf6d.c
+++ b/usr.sbin/ospf6d/ospf6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6d.c,v 1.50 2021/01/19 09:54:08 claudio Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.51 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -277,7 +277,7 @@ main(int argc, char *argv[])
/* no filesystem visibility */
if (unveil("/", "") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");