git: d18a65a53509 - stable/13 - wg: Style

Mark Johnston markj at FreeBSD.org
Mon Mar 15 15:41:28 UTC 2021


The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=d18a65a5350928597090b2559d9187bf68976275

commit d18a65a5350928597090b2559d9187bf68976275
Author:     Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-03-08 17:39:05 +0000
Commit:     Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-03-15 15:38:15 +0000

    wg: Style
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit d8cebef50e7b5fac1e28bcb1f931962210f9b5f6)
---
 sys/dev/if_wg/module/if_wg_session.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/dev/if_wg/module/if_wg_session.c b/sys/dev/if_wg/module/if_wg_session.c
index 4164a531cc69..cfe1b5e898bb 100644
--- a/sys/dev/if_wg/module/if_wg_session.c
+++ b/sys/dev/if_wg/module/if_wg_session.c
@@ -254,15 +254,13 @@ wg_socket_reuse(struct wg_softc *sc, struct socket *so)
 	error = sosetopt(so, &sopt);
 	if (error) {
 		ifp = iflib_get_ifp(sc->wg_ctx);
-		if_printf(ifp,
-				  "cannot set REUSEPORT socket opt: %d\n", error);
+		if_printf(ifp, "cannot set REUSEPORT socket opt: %d\n", error);
 	}
 	sopt.sopt_name = SO_REUSEADDR;
 	error = sosetopt(so, &sopt);
 	if (error) {
 		ifp = iflib_get_ifp(sc->wg_ctx);
-		if_printf(ifp,
-				  "cannot set REUSEADDDR socket opt: %d\n", error);
+		if_printf(ifp, "cannot set REUSEADDDR socket opt: %d\n", error);
 	}
 	return (error);
 }


More information about the dev-commits-src-all mailing list