summaryrefslogtreecommitdiff
path: root/apps/examples/nxffs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxffs')
-rw-r--r--apps/examples/nxffs/Makefile2
-rw-r--r--apps/examples/nxffs/nxffs_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile
index 9af03897f..6d9e4a3d8 100644
--- a/apps/examples/nxffs/Makefile
+++ b/apps/examples/nxffs/Makefile
@@ -62,7 +62,7 @@ ROOTDEPPATH = --dep-path .
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: clean depend distclean
diff --git a/apps/examples/nxffs/nxffs_main.c b/apps/examples/nxffs/nxffs_main.c
index 154714246..443ef52fe 100644
--- a/apps/examples/nxffs/nxffs_main.c
+++ b/apps/examples/nxffs/nxffs_main.c
@@ -279,7 +279,7 @@ static inline void nxffs_randname(FAR struct nxffs_filedesc_s *file)
{
file->name[i] = nxffs_randchar();
}
-
+
file->name[alloclen] = '\0';
}