summaryrefslogtreecommitdiff
path: root/apps/examples/smart
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/smart
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadpx4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/smart')
-rw-r--r--apps/examples/smart/Makefile2
-rw-r--r--apps/examples/smart/smart_main.c2
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';
}