From 629b8f3e0fad4abda91a9519d7db1d6765b97bd4 Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Fri, 15 Jun 2007 02:34:36 +0000 Subject: [PATCH] KTR_GEN -> KTR_SUBSYS (for Kris). --- sys/netinet/sctp_os_bsd.h | 4 ++-- sys/netinet/sctputil.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h index 8f5b1cf21321..5dc89025bb48 100644 --- a/sys/netinet/sctp_os_bsd.h +++ b/sys/netinet/sctp_os_bsd.h @@ -159,13 +159,13 @@ MALLOC_DECLARE(SCTP_M_SOCKOPT); #define SCTP_PRINTF(params...) printf(params) #ifdef SCTP_LTRACE_CHUNKS -#define SCTP_LTRACE_CHK(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_CHUNK_ENABLE) CTR6(KTR_NET, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_CHUNK_PROC, 0, a, b, c, d) +#define SCTP_LTRACE_CHK(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_CHUNK_ENABLE) CTR6(KTR_SUBSYS, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_CHUNK_PROC, 0, a, b, c, d) #else #define SCTP_LTRACE_CHK(a, b, c, d) #endif #ifdef SCTP_LTRACE_ERRORS -#define SCTP_LTRACE_ERR(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_ERROR_ENABLE) CTR6(KTR_NET, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_ERROR_RET, 0, a, b, c, d) +#define SCTP_LTRACE_ERR(a, b, c, d) if(sctp_logging_level & SCTP_LTRACE_ERROR_ENABLE) CTR6(KTR_SUBSYS, "SCTP:%d[%d]:%x-%x-%x-%x", SCTP_LOG_ERROR_RET, 0, a, b, c, d) #else #define SCTP_LTRACE_ERR(a, b, c, d) #endif diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index 2a35cf9c0eea..f309c31fbc4b 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$"); #ifndef SCTP_SUBSYS_KTR -#define SCTP_SUBSYS_KTR KTR_GEN +#define SCTP_SUBSYS_KTR KTR_SUBSYS #endif void