summaryrefslogtreecommitdiff
path: root/usr.sbin/switchctl
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-01-09 16:42:15 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-01-09 16:42:15 +0000
commit62497fbfdf5832b3b402558f767d6eda71a0260f (patch)
treed6ca27af81c7163138845b68d5176a9d4f466667 /usr.sbin/switchctl
parent8798d5d44f67112bd5457c5dba1ebadbe863062f (diff)
log_verbose() -> log_setverbose()
Diffstat (limited to 'usr.sbin/switchctl')
-rw-r--r--usr.sbin/switchctl/ofpclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/switchctl/ofpclient.c b/usr.sbin/switchctl/ofpclient.c
index f26993f9096..f60e3317431 100644
--- a/usr.sbin/switchctl/ofpclient.c
+++ b/usr.sbin/switchctl/ofpclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofpclient.c,v 1.5 2016/12/02 14:39:46 rzalamena Exp $ */
+/* $OpenBSD: ofpclient.c,v 1.6 2017/01/09 16:42:14 reyk Exp $ */
/*
* Copyright (c) 2016 Reyk Floeter <reyk@openbsd.org>
@@ -104,12 +104,12 @@ ofpclient(struct parse_result *res, struct passwd *pw)
/* Set a default read timeout */
timeout = 3 * 1000;
- log_verbose(res->verbose);
+ log_setverbose(res->verbose);
ofp_send_hello(&sc, &con, OFP_V_1_3);
ofpclient_read(&con, timeout);
- log_verbose(res->quiet ? res->verbose : 2);
+ log_setverbose(res->quiet ? res->verbose : 2);
switch (res->action) {
case DUMP_DESC: