summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd
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/ripd
parent2b0390da42afe73f604d72f63adf5699da8b9d3f (diff)
repair missing paths on unveil failure
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/ripd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/ripd.c b/usr.sbin/ripd/ripd.c
index 472cb6db773..f09b60e16e1 100644
--- a/usr.sbin/ripd/ripd.c
+++ b/usr.sbin/ripd/ripd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripd.c,v 1.35 2021/01/19 10:20:47 claudio Exp $ */
+/* $OpenBSD: ripd.c,v 1.36 2021/09/06 13:32:18 deraadt Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -212,7 +212,7 @@ main(int argc, char *argv[])
/* no filesystem visibility */
if (unveil("/", "") == -1)
- fatal("unveil");
+ fatal("unveil /");
if (unveil(NULL, NULL) == -1)
fatal("unveil");