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 2020/11/27 11:19:32 UTC

[incubator-nuttx] 25/48: arch/arm/src/cxd56xx/cxd56_sysctl.c: Fix a syslog format

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

commit 758525d38488b57e9989d06507a2a08df1967937
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Nov 26 17:28:52 2020 +0900

    arch/arm/src/cxd56xx/cxd56_sysctl.c: Fix a syslog format
---
 arch/arm/src/cxd56xx/cxd56_sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/cxd56xx/cxd56_sysctl.c b/arch/arm/src/cxd56xx/cxd56_sysctl.c
index 28b22c2..6adff53 100644
--- a/arch/arm/src/cxd56xx/cxd56_sysctl.c
+++ b/arch/arm/src/cxd56xx/cxd56_sysctl.c
@@ -102,7 +102,7 @@ static int sysctl_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
     {
       default:
         {
-          _err("cmd %x(%x)\n", cmd, arg);
+          _err("cmd %x(%lx)\n", cmd, arg);
           ret = cxd56_sysctlcmd(cmd & 0xff, arg);
           if (ret)
             {