From: reyk Date: Wed, 20 Jul 2016 21:06:09 +0000 (+0000) Subject: fix typos in comments X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6747d0f353c368d38f939752a67be384c74434e5;p=openbsd fix typos in comments --- 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.