From: dlg Date: Wed, 24 Feb 2021 08:23:04 +0000 (+0000) Subject: whitespace tweaks, no functional change. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7f6a6261c6fa4e87428522d5aab8369b7650d520;p=openbsd whitespace tweaks, no functional change. --- diff --git a/sys/net/if_etherbridge.c b/sys/net/if_etherbridge.c index 0912abfda7d..03ee76c7a2b 100644 --- a/sys/net/if_etherbridge.c +++ b/sys/net/if_etherbridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_etherbridge.c,v 1.2 2021/02/24 01:20:03 dlg Exp $ */ +/* $OpenBSD: if_etherbridge.c,v 1.3 2021/02/24 08:23:04 dlg Exp $ */ /* * Copyright (c) 2018, 2021 David Gwynne @@ -626,8 +626,8 @@ etherbridge_rtfind(struct etherbridge *eb, struct ifbaconf *baconf) } memcpy(buf + len, &bareq, sizeof(bareq)); - len = nlen; - } + len = nlen; + } nlen = baconf->ifbac_len; baconf->ifbac_len = eb->eb_num * sizeof(bareq); mtx_leave(&eb->eb_lock); @@ -635,7 +635,7 @@ etherbridge_rtfind(struct etherbridge *eb, struct ifbaconf *baconf) error = copyout(buf, baconf->ifbac_buf, len); free(buf, M_TEMP, nlen); - return (error); + return (error); } int