Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Whitespace



details:   https://anonhg.NetBSD.org/src/rev/b909a8b64ca2
branches:  trunk
changeset: 821659:b909a8b64ca2
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 12 09:47:31 2017 +0000

description:
Whitespace

diffstat:

 sys/net/if_tap.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (48 lines):

diff -r 2c3d7d5b8be7 -r b909a8b64ca2 sys/net/if_tap.c
--- a/sys/net/if_tap.c  Sun Feb 12 09:36:05 2017 +0000
+++ b/sys/net/if_tap.c  Sun Feb 12 09:47:31 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tap.c,v 1.98 2017/02/12 08:51:45 skrll Exp $        */
+/*     $NetBSD: if_tap.c,v 1.99 2017/02/12 09:47:31 skrll Exp $        */
 
 /*
  *  Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.98 2017/02/12 08:51:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.99 2017/02/12 09:47:31 skrll Exp $");
 
 #if defined(_KERNEL_OPT)
 
@@ -251,13 +251,13 @@
 static void
 tapinit(void)
 {
-        int error = config_cfattach_attach(tap_cd.cd_name, &tap_ca);
-        if (error) {
-                aprint_error("%s: unable to register cfattach\n",
-                    tap_cd.cd_name);
-                (void)config_cfdriver_detach(&tap_cd);
-                return;
-        }
+       int error = config_cfattach_attach(tap_cd.cd_name, &tap_ca);
+       if (error) {
+               aprint_error("%s: unable to register cfattach\n",
+                   tap_cd.cd_name);
+               (void)config_cfdriver_detach(&tap_cd);
+               return;
+       }
 
        if_clone_attach(&tap_cloners);
        sysctl_tap_setup(&tap_sysctl_clog);
@@ -653,7 +653,7 @@
 {
        if (tap_clone_creator(unit) == NULL) {
                aprint_error("%s%d: unable to attach an instance\n",
-                    tap_cd.cd_name, unit);
+                   tap_cd.cd_name, unit);
                return ENXIO;
        }
        atomic_inc_uint(&tap_count);



Home | Main Index | Thread Index | Old Index