diff options
Diffstat (limited to 'apps/examples/smart')
-rw-r--r-- | apps/examples/smart/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/smart/smart_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/smart/Makefile b/apps/examples/smart/Makefile index 60614ca5d..d0a5f738a 100644 --- a/apps/examples/smart/Makefile +++ b/apps/examples/smart/Makefile @@ -62,7 +62,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: clean depend distclean diff --git a/apps/examples/smart/smart_main.c b/apps/examples/smart/smart_main.c index b373d78cd..d01f814f3 100644 --- a/apps/examples/smart/smart_main.c +++ b/apps/examples/smart/smart_main.c @@ -281,7 +281,7 @@ static inline void smart_randname(FAR struct smart_filedesc_s *file) { file->name[i] = smart_randchar(); } - + file->name[alloclen] = '\0'; } |