From fd38623aacf75874e7ebe218806f82016bd7391a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 29 Apr 2020 10:18:20 -0600 Subject: [PATCH] mm/iob/iob_clone.c: Correct newline character Another place where /n is used where \n was intended. --- mm/iob/iob_clone.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mm/iob/iob_clone.c b/mm/iob/iob_clone.c index fcb361dfb5..1a7615c652 100644 --- a/mm/iob/iob_clone.c +++ b/mm/iob/iob_clone.c @@ -82,7 +82,9 @@ int iob_clone(FAR struct iob_s *iob1, FAR struct iob_s *iob2, bool throttled, DEBUGASSERT(iob2->io_len == 0 && iob2->io_offset == 0 && iob2->io_pktlen == 0 && iob2->io_flink == NULL); - /* Copy the total packet size from the I/O buffer at the head of the chain */ + /* Copy the total packet size from the I/O buffer at the head of the + * chain. + */ iob2->io_pktlen = iob1->io_pktlen; @@ -162,7 +164,7 @@ int iob_clone(FAR struct iob_s *iob1, FAR struct iob_s *iob2, bool throttled, next = iob_alloc(throttled, consumerid); if (!next) { - ioberr("ERROR: Failed to allocate an I/O buffer/n"); + ioberr("ERROR: Failed to allocate an I/O buffer\n"); return -ENOMEM; }