You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/03 14:26:03 UTC

[incubator-nuttx] branch master updated: rx65n: Add missing parameters in printf

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang 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 707404d  rx65n: Add missing parameters in printf
707404d is described below

commit 707404d415de3148f661394a970a8aa5f0cf105e
Author: Masanari Iida <st...@gmail.com>
AuthorDate: Sat Jul 3 20:56:03 2021 +0900

    rx65n: Add missing parameters in printf
    
    Printf format string requires 2 parameters, but 0
    parameter was given. Add these missing parameters.
    
    Signed-off-by: Masanari Iida <st...@gmail.com>
---
 arch/renesas/src/rx65n/rx65n_usbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/renesas/src/rx65n/rx65n_usbdev.c b/arch/renesas/src/rx65n/rx65n_usbdev.c
index 7584a7c9..a9ef7da 100644
--- a/arch/renesas/src/rx65n/rx65n_usbdev.c
+++ b/arch/renesas/src/rx65n/rx65n_usbdev.c
@@ -2889,7 +2889,7 @@ static int rx65n_epconfigure(FAR struct usbdev_ep_s *ep,
   if (!ep || !desc)
     {
       usbtrace(TRACE_DEVERROR(RX65N_TRACEERR_INVALIDPARMS), 0);
-      printf("ERROR: ep=%p desc=%p\n");
+      printf("ERROR: ep=%p desc=%p\n", ep, desc);
       return -EINVAL;
     }
 #endif