diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
commit | 43ec94a665e13552402ff4f102e0f65f6792cf29 (patch) | |
tree | 05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/smart_test | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/examples/smart_test')
-rw-r--r-- | apps/examples/smart_test/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/smart_test/README.txt | 2 | ||||
-rw-r--r-- | apps/examples/smart_test/smart_test.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/smart_test/Makefile b/apps/examples/smart_test/Makefile index 5864b1cdc..fb6100464 100644 --- a/apps/examples/smart_test/Makefile +++ b/apps/examples/smart_test/Makefile @@ -71,7 +71,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/examples/smart_test/README.txt b/apps/examples/smart_test/README.txt index 4102df9e7..3cd9e5536 100644 --- a/apps/examples/smart_test/README.txt +++ b/apps/examples/smart_test/README.txt @@ -11,7 +11,7 @@ append and seek-with-write operations. Usage: flash_test mtdblock_device - + Additional options: --force to replace existing installation diff --git a/apps/examples/smart_test/smart_test.c b/apps/examples/smart_test/smart_test.c index efce1b0bf..bffb04c2c 100644 --- a/apps/examples/smart_test/smart_test.c +++ b/apps/examples/smart_test/smart_test.c @@ -104,12 +104,12 @@ static int smart_create_test_file(char *filename) sprintf(string, "This is line %d at offset %d\n", x, g_linePos[x]); g_lineLen[x] = strlen(string); - fprintf(fd, "%s", string); + fprintf(fd, "%s", string); printf("\r%d", x); fflush(stdout); - } - + } + /* Close the file */ printf("\r\nDone.\n"); @@ -203,7 +203,7 @@ static int smart_append_test(char *filename) /* Now seek to the end of the file and ensure that is where * pos is. */ - + fseek(fd, 0, SEEK_END); if (ftell(fd) != pos) { |