From 63e3422a4276477d059c7a375326368bc4dd28e7 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 20 Jul 2016 21:06:10 +0000 Subject: fix typos in comments --- usr.sbin/switchd/ofcconn.c | 10 +++++----- usr.sbin/switchd/ofp.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'usr.sbin/switchd') 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 @@ -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 @@ -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. -- cgit v1.2.3