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

marko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 189989a7c1fd6e1da366143059c6388e412915f8
Author: Nolan Lau <no...@juul.com>
AuthorDate: Thu Oct 17 14:05:13 2019 -0700

    Fix?
---
 sys/log/full/src/log.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/log/full/src/log.c b/sys/log/full/src/log.c
index 7cb45e5..ba94856 100644
--- a/sys/log/full/src/log.c
+++ b/sys/log/full/src/log.c
@@ -933,8 +933,8 @@ log_walk_body_section(struct log *log, log_walk_body_func_t 
walk_body_func,
 
     log_offset->lo_arg = &lwba;
 
-    if (!log->l_log->log->walk_sector) {
-        rc = ENOTSUP;
+    if (!log->l_log->log_walk_sector) {
+        rc = SYS_ENOTSUP;
         goto err;
     }
 

Reply via email to