diff options
Diffstat (limited to 'apps/examples/smart_test/smart_test.c')
-rw-r--r-- | apps/examples/smart_test/smart_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |