Module Name: src
Committed By: pgoyette
Date: Tue Jan 15 21:37:44 UTC 2019
Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c
Log Message:
Add missing # to fix the non-SCTP case.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.37 -r1.1.2.38 src/sys/kern/compat_stub.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/kern/compat_stub.c
diff -u src/sys/kern/compat_stub.c:1.1.2.37 src/sys/kern/compat_stub.c:1.1.2.38
--- src/sys/kern/compat_stub.c:1.1.2.37 Tue Jan 15 10:52:20 2019
+++ src/sys/kern/compat_stub.c Tue Jan 15 21:37:44 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_stub.c,v 1.1.2.37 2019/01/15 10:52:20 pgoyette Exp $ */
+/* $NetBSD: compat_stub.c,v 1.1.2.38 2019/01/15 21:37:44 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@ void (*vec_ntp_adjtime1)(struct timex *)
#ifdef SCTP
void (*vec_sctp_add_ip_address)(struct ifaddr *) = sctp_add_ip_address;
void (*vec_sctp_delete_ip_address)(struct ifaddr *) = sctp_delete_ip_address;
-else
+#else
void (*vec_sctp_add_ip_address)(struct ifaddr *) = NULL;
void (*vec_sctp_delete_ip_address)(struct ifaddr *) = NULL;
#endif