summaryrefslogtreecommitdiff
path: root/components/dfs/src/dfs.c
diff options
context:
space:
mode:
authorarmink <[email protected]>2018-07-14 11:06:59 +0800
committerarmink <[email protected]>2018-07-14 11:06:59 +0800
commit6139e6a3ccab60552fb1cabb044c53a917456f10 (patch)
tree6e2e8fbbf2af6e357c7e144848875b1de42eedd0 /components/dfs/src/dfs.c
parentc698c2c8e7461da87b6b41a8bf4e11b1c1a177bc (diff)
[dfs] Update error log for dfs.
Diffstat (limited to 'components/dfs/src/dfs.c')
-rw-r--r--components/dfs/src/dfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c
index 459ab52793..e7fd7394cf 100644
--- a/components/dfs/src/dfs.c
+++ b/components/dfs/src/dfs.c
@@ -197,6 +197,7 @@ int fd_new(void)
if (idx == fdt->maxfd)
{
idx = -(1 + DFS_FD_OFFSET);
+ dbg_log(DBG_ERROR, "DFS fd new is failed! Could not found an empty fd entry.");
goto __result;
}