nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aguettou...@apache.org
Subject [incubator-nuttx] branch master updated: mm/iob/iob_clone.c: Correct newline character
Date Wed, 29 Apr 2020 17:11:08 GMT
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new fd38623  mm/iob/iob_clone.c:  Correct newline character
fd38623 is described below

commit fd38623aacf75874e7ebe218806f82016bd7391a
Author: Gregory Nutt <gnutt@nuttx.org>
AuthorDate: Wed Apr 29 10:18:20 2020 -0600

    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 fcb361d..1a7615c 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;
             }
 


Mime
View raw message