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/03/17 02:49:28 UTC
[incubator-nuttx] branch master updated: boards/esp32c3-devkit: Use
nx_mount to avoid overriding errno
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 a93d538 boards/esp32c3-devkit: Use nx_mount to avoid overriding errno
a93d538 is described below
commit a93d538f3b1ff7c6005c9630e2898b0210272caf
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Tue Mar 16 09:29:53 2021 -0300
boards/esp32c3-devkit: Use nx_mount to avoid overriding errno
---
boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c b/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
index 029d81e..401eae0 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_bringup.c
@@ -80,7 +80,7 @@ int esp32c3_bringup(void)
#ifdef CONFIG_FS_TMPFS
/* Mount the tmpfs file system */
- ret = mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
+ ret = nx_mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
if (ret < 0)
{
syslog(LOG_ERR, "ERROR: Failed to mount tmpfs at %s: %d\n",