summaryrefslogtreecommitdiff
path: root/apps/examples/hello
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-30 08:53:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-30 08:53:55 -0600
commitab7516bd7c444d34950354e9ee207aeeb478be59 (patch)
tree30c13964c611a9373f931bf08f90d8f8f25d2f41 /apps/examples/hello
parentc4c17d3adb8096a5bc73cbe789897d1da8bc61a6 (diff)
downloadnuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.gz
nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.bz2
nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.zip
snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen
Diffstat (limited to 'apps/examples/hello')
-rw-r--r--apps/examples/hello/hello_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/examples/hello/hello_main.c b/apps/examples/hello/hello_main.c
index 229027c36..95961545c 100644
--- a/apps/examples/hello/hello_main.c
+++ b/apps/examples/hello/hello_main.c
@@ -61,4 +61,3 @@ int hello_main(int argc, char *argv[])
printf("Hello, World!!\n");
return 0;
}
-