From 4c5117101d5430510a074b8af1a4ea5cc31280da Mon Sep 17 00:00:00 2001 From: likewise Date: Fri, 11 Apr 2003 12:56:13 +0000 Subject: [PATCH] Fixed debug message for PBUF_REF/ROM allocation failure. --- src/core/pbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index c038e789..f2bdf8f1 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -336,7 +336,7 @@ pbuf_alloc(pbuf_layer l, u16_t length, pbuf_flag flag) /* only allocate memory for the pbuf structure */ p = memp_mallocp(MEMP_PBUF); if (p == NULL) { - DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_REF.\n")); + DEBUGF(PBUF_DEBUG | DBG_TRACE | 2, ("pbuf_alloc: Could not allocate MEMP_PBUF for PBUF_ROM/REF.\n")); return NULL; } /* caller must set this field properly, afterwards */