summaryrefslogtreecommitdiff
path: root/apps/examples/flash_test
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/flash_test')
-rw-r--r--apps/examples/flash_test/Makefile2
-rw-r--r--apps/examples/flash_test/README.txt2
-rw-r--r--apps/examples/flash_test/flash_test.c12
3 files changed, 8 insertions, 8 deletions
diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile
index d8c9e5c74..b92a7aaa9 100644
--- a/apps/examples/flash_test/Makefile
+++ b/apps/examples/flash_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/flash_test/README.txt b/apps/examples/flash_test/README.txt
index 60fcc4ebb..667903775 100644
--- a/apps/examples/flash_test/README.txt
+++ b/apps/examples/flash_test/README.txt
@@ -12,7 +12,7 @@ NOTE: This test uses internal OS interfaces and so is not available in the NUTT
Usage:
flash_test mtdblock_device
-
+
Additional options:
--force to replace existing installation
diff --git a/apps/examples/flash_test/flash_test.c b/apps/examples/flash_test/flash_test.c
index 7c67580d1..92821040b 100644
--- a/apps/examples/flash_test/flash_test.c
+++ b/apps/examples/flash_test/flash_test.c
@@ -100,9 +100,9 @@ int flash_test_main(int argc, char *argv[])
goto errout_with_driver;
}
- /* Test if the device is formatted. If not, then we must do a
+ /* Test if the device is formatted. If not, then we must do a
* low-level format first */
-
+
if (!(fmt.flags & SMART_FMT_ISFORMATTED))
{
/* Perform a low-level format */
@@ -160,16 +160,16 @@ int flash_test_main(int argc, char *argv[])
{
/* Allocate a new sector */
- logsector = inode->u.i_bops->ioctl(inode, BIOC_ALLOCSECT,
+ logsector = inode->u.i_bops->ioctl(inode, BIOC_ALLOCSECT,
(unsigned long) -1);
if (logsector < 0)
{
fprintf(stderr, "Error allocating sector: %d\n", logsector);
- goto errout_with_driver;
+ goto errout_with_driver;
}
/* Save the sector in our array */
-
+
sectors[x] = (uint16_t) logsector;
seqs[x] = seq++;
@@ -190,7 +190,7 @@ int flash_test_main(int argc, char *argv[])
printf("\r%d ", sectors[x]);
}
- /* Now read the data back to validate everything was written and can
+ /* Now read the data back to validate everything was written and can
* be read. */
printf("\nDoing read verify test\n");