Module Name: src
Committed By: pgoyette
Date: Mon Mar 25 09:59:59 UTC 2019
Modified Files:
src/sys/net: if_tap.c
Log Message:
Put the #ifdef where it belongs (after defining the out2 label which is
referenced only inside #ifdef block)
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_tap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_tap.c
diff -u src/sys/net/if_tap.c:1.108 src/sys/net/if_tap.c:1.109
--- src/sys/net/if_tap.c:1.108 Mon Mar 25 09:32:25 2019
+++ src/sys/net/if_tap.c Mon Mar 25 09:59:59 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tap.c,v 1.108 2019/03/25 09:32:25 pgoyette Exp $ */
+/* $NetBSD: if_tap.c,v 1.109 2019/03/25 09:59:59 pgoyette 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.108 2019/03/25 09:32:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.109 2019/03/25 09:59:59 pgoyette Exp $");
#if defined(_KERNEL_OPT)
@@ -296,8 +296,8 @@ tapdetach(void)
out1:
#ifdef _MODULE
devsw_attach("tap", NULL, &tap_bmajor, &tap_cdevsw, &tap_cmajor);
-#endif
out2:
+#endif
if_clone_attach(&tap_cloners);
return error;