summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2021-04-11 01:20:04 +0000
committerjob <job@cvs.openbsd.org>2021-04-11 01:20:04 +0000
commited15ccc2c9ff45feb33e03799c1cbdfcadf4a9ed (patch)
tree86cf541986461864ef3e1565fa3c814e6815facd
parentb9df4f39fb70ff4d64633217e6c877b20aeff1fe (diff)
Fix two typos in comments
sure deraadt@
-rw-r--r--usr.sbin/rpki-client/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index a290203c45c..94b5ac4a65d 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.134 2021/04/08 17:07:55 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.135 2021/04/11 01:20:03 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -852,7 +852,7 @@ main(int argc, char *argv[])
} else
rrdp = -1;
- /* TODO unveil chachedir and outputdir, no other access allowed */
+ /* TODO unveil cachedir and outputdir, no other access allowed */
if (pledge("stdio rpath wpath cpath fattr sendfd", NULL) == -1)
err(1, "pledge");
@@ -1088,7 +1088,7 @@ main(int argc, char *argv[])
timeradd(&stats.system_time, &ru.ru_stime, &stats.system_time);
}
- /* change working directory to the cache directory */
+ /* change working directory to the output directory */
if (fchdir(outdirfd) == -1)
err(1, "fchdir output dir");