summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb/kvm_mkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kvm_mkdb/kvm_mkdb.c')
-rw-r--r--usr.sbin/kvm_mkdb/kvm_mkdb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/kvm_mkdb/kvm_mkdb.c b/usr.sbin/kvm_mkdb/kvm_mkdb.c
index bda0080948e..6c21e17ba1b 100644
--- a/usr.sbin/kvm_mkdb/kvm_mkdb.c
+++ b/usr.sbin/kvm_mkdb/kvm_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mkdb.c,v 1.31 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: kvm_mkdb.c,v 1.32 2021/07/12 15:09:21 beck Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -117,15 +117,15 @@ main(int argc, char *argv[])
if (argc > 0) {
if (unveil(argv[0], "r") == -1)
- err(1, "unveil");
+ err(1, "unveil %s", argv[0]);
} else {
if (unveil(_PATH_UNIX, "r") == -1)
- err(1, "unveil");
+ err(1, "unveil %s", _PATH_UNIX);
if (unveil(_PATH_KSYMS, "r") == -1)
- err(1, "unveil");
+ err(1, "unveil %s", _PATH_KSYMS);
}
if (unveil(dbdir, "rwc") == -1)
- err(1, "unveil");
+ err(1, "unveil %s", dbdir);
if (pledge("stdio rpath wpath cpath fattr flock", NULL) == -1)
err(1, "pledge");