summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-07-20 21:06:10 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-07-20 21:06:10 +0000
commit63e3422a4276477d059c7a375326368bc4dd28e7 (patch)
tree0b38dfba0a9a8de1ce97a41f3b455568ef38d8e0 /usr.sbin
parent4b0859efde80daec8ca78fe59a5f649ee01eb573 (diff)
fix typos in comments
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/switchd/ofcconn.c10
-rw-r--r--usr.sbin/switchd/ofp.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/switchd/ofcconn.c b/usr.sbin/switchd/ofcconn.c
index 91af32003fe..6d7e2968b7e 100644
--- a/usr.sbin/switchd/ofcconn.c
+++ b/usr.sbin/switchd/ofcconn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofcconn.c,v 1.5 2016/07/20 21:01:06 reyk Exp $ */
+/* $OpenBSD: ofcconn.c,v 1.6 2016/07/20 21:06:09 reyk Exp $ */
/*
* Copyright (c) 2016 YASUOKA Masahiko <yasuoka@openbsd.org>
@@ -74,20 +74,20 @@ void ofcconn_close(struct ofcconn *);
void ofcconn_free(struct ofcconn *);
void ofcconn_shutdown_all(void);
int ofcconn_send_hello(struct ofcconn *);
-void ofccon_run(struct privsep *, struct privsep_proc *, void *);
+void ofcconn_run(struct privsep *, struct privsep_proc *, void *);
pid_t
ofcconn(struct privsep *ps, struct privsep_proc *p)
{
p->p_shutdown = ofcconn_shutdown;
- return (proc_run(ps, p, procs, nitems(procs), ofccon_run, NULL));
+ return (proc_run(ps, p, procs, nitems(procs), ofcconn_run, NULL));
}
void
-ofccon_run(struct privsep *ps, struct privsep_proc *p, void *arg)
+ofcconn_run(struct privsep *ps, struct privsep_proc *p, void *arg)
{
/*
- * pledge in the control process:
+ * pledge in the ofcconn process:
* stdio - for malloc and basic I/O including events.
* inet - for socket operations and OpenFlow connections.
* recvfd - for receiving new sockets on reload.
diff --git a/usr.sbin/switchd/ofp.c b/usr.sbin/switchd/ofp.c
index f0cf0cf6ddb..73db16157bb 100644
--- a/usr.sbin/switchd/ofp.c
+++ b/usr.sbin/switchd/ofp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofp.c,v 1.4 2016/07/20 21:01:06 reyk Exp $ */
+/* $OpenBSD: ofp.c,v 1.5 2016/07/20 21:06:09 reyk Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -83,7 +83,7 @@ ofp_run(struct privsep *ps, struct privsep_proc *p, void *arg)
struct switch_server *srv = &sc->sc_server;
/*
- * pledge in the control process:
+ * pledge in the ofp process:
* stdio - for malloc and basic I/O including events.
* inet - for handling tcp connections with OpenFlow peers.
* recvfd - for receiving new sockets on reload.