You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/11/24 18:34:05 UTC

[incubator-nuttx-apps] branch master updated: examples/mld: Fix undefined reference to `mld_catfile'

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 24b6f91  examples/mld: Fix undefined reference to `mld_catfile'
24b6f91 is described below

commit 24b6f9199af7b8d593e56e43419a39b95b85abca
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Nov 24 17:06:14 2020 +0800

    examples/mld: Fix undefined reference to `mld_catfile'
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
    Change-Id: I0948b75fe3aea2351c3584cda9bcb7dd41cdd1f9
---
 examples/mld/mld_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/mld/mld_main.c b/examples/mld/mld_main.c
index 8bac0b4..02b5d31 100644
--- a/examples/mld/mld_main.c
+++ b/examples/mld/mld_main.c
@@ -251,7 +251,7 @@ void mld_catfile(FAR const char *filepath, FAR char **iobuffer)
 #ifdef HAVE_PROC_NET_STATS
 #  define mld_dumpstats(iobuffer) mld_catfile(PROCFS_MLD_PATH, iobuffer)
 #else
-#  define mld_dumpstats(iobuffer) mld_catfile(PROCFS_MLD_PATH, iobuffer)
+#  define mld_dumpstats(iobuffer)
 #endif
 
 #ifdef HAVE_PROC_NET_ROUTE