aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp.h2
-rw-r--r--sys/netinet/sctp_bsd_addr.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h
index 5c21aae4cc1a..f0d08cf21515 100644
--- a/sys/netinet/sctp.h
+++ b/sys/netinet/sctp.h
@@ -204,7 +204,7 @@ struct sctp_paramhdr {
* form. Note this is a compile option to
* the kernel, SCTP_PACKET_LOGGING, and
* without it in your kernel you
- * will get a ENOSUPPORT.
+ * will get a EOPNOTSUPP
*/
#define SCTP_GET_PACKET_LOG 0x00004001
diff --git a/sys/netinet/sctp_bsd_addr.c b/sys/netinet/sctp_bsd_addr.c
index d188a1225885..1abd7724e372 100644
--- a/sys/netinet/sctp_bsd_addr.c
+++ b/sys/netinet/sctp_bsd_addr.c
@@ -51,11 +51,11 @@ __FBSDID("$FreeBSD$");
/* Declare all of our malloc named types */
-/* Not to Michael/Peter for mac-os,
- * I think mac has this to since I
+/* Note to Michael/Peter for mac-os,
+ * I think mac has this too since I
* do see the M_PCB type, so I
* will also put in the mac file the
- * MALLOC_DELCARE. If this does not
+ * MALLOC_DECLARE. If this does not
* work for mac uncomment the defines for
* the strings that we use in Panda, I put
* them in comments in the mac-os file.