summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/main.c
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2020-04-30 16:08:05 +0000
committerjob <job@cvs.openbsd.org>2020-04-30 16:08:05 +0000
commit7851b2127dd04d81e4961b5965eac1f12d1d8be2 (patch)
tree24c3af4681d3c1be1bd4521f34e906a06a957ebd /usr.sbin/rpki-client/main.c
parentd06384aeef48386c5d3311917fbc21a4c0430f07 (diff)
Reword verbose log messages to clarify what's happening
OK deraadt@
Diffstat (limited to 'usr.sbin/rpki-client/main.c')
-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 a431a431b78..92c355a1bd1 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.67 2020/04/30 13:46:39 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.68 2020/04/30 16:08:04 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -251,7 +251,7 @@ repo_lookup(int fd, struct repotab *rt, const char *uri)
i = rt->reposz - 1;
- logx("%s/%s: loading", rp->host, rp->module);
+ logx("%s/%s: pulling from network", rp->host, rp->module);
io_simple_write(fd, &i, sizeof(size_t));
io_str_write(fd, rp->host);
io_str_write(fd, rp->module);
@@ -1604,7 +1604,7 @@ main(int argc, char *argv[])
assert(i < rt.reposz);
assert(!rt.repos[i].loaded);
rt.repos[i].loaded = 1;
- logx("%s/%s: loaded", rt.repos[i].host,
+ logx("%s/%s: loaded from cache", rt.repos[i].host,
rt.repos[i].module);
stats.repos++;
entityq_flush(proc, &q, &rt.repos[i]);