From fd45a3cc5397eb5f2e0e05cf6aaa91752337e7ab Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 20 Feb 2022 19:59:29 +0000 Subject: [PATCH] Add missing newlines in two DPRINTFs (from Matthew Martin) Tweak capitalization (from jmc) --- sys/net/if_wg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index 13c48f42c54..47de3fb1c24 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.20 2022/01/02 22:36:04 jsg Exp $ */ +/* $OpenBSD: if_wg.c,v 1.21 2022/02/20 19:59:29 tb Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -2156,7 +2156,7 @@ wg_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa, } if (m->m_pkthdr.ph_loopcnt++ > M_MAXLOOP) { - DPRINTF(sc, "Packet looped"); + DPRINTF(sc, "Packet looped\n"); ret = ELOOP; goto error; } @@ -2169,7 +2169,7 @@ wg_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa, * another aip_lookup in wg_qstart, or refcnting as mentioned before. */ if (m->m_pkthdr.pf.delay > 0) { - DPRINTF(sc, "PF Delay Unsupported"); + DPRINTF(sc, "PF delay unsupported\n"); ret = EOPNOTSUPP; goto error; } -- 2.20.1