summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHorst Kronstorfer <hkronsto@frequentis.com>2011-12-05 00:55:23 +0000
committerWolfgang Denk <wd@denx.de>2011-12-20 23:51:20 +0100
commitd30011bf6127903367e70f9bdcb95a2d3dd2dc9f (patch)
treeee315d64d30514e3c5d9c78a1fb33e74f17ce2a8 /tools
parentfcc0c75dea90f2bb8394e7031fc33f72119be544 (diff)
downloadu-boot-imx-d30011bf6127903367e70f9bdcb95a2d3dd2dc9f.zip
u-boot-imx-d30011bf6127903367e70f9bdcb95a2d3dd2dc9f.tar.gz
u-boot-imx-d30011bf6127903367e70f9bdcb95a2d3dd2dc9f.tar.bz2
mkenvimage: Fix some typos
Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkenvimage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 9c32f4a..b7b0e0f 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -116,7 +116,7 @@ int main(int argc, char **argv)
/* Check datasize and allocate the data */
if (datasize == 0) {
fprintf(stderr,
- "Please specify the size of the envrionnment "
+ "Please specify the size of the environment "
"partition.\n");
usage(argv[0]);
return EXIT_FAILURE;
@@ -182,12 +182,12 @@ int main(int argc, char **argv)
ret = close(txt_fd);
}
/*
- * The right test to do is "=>" (not ">") because of the additionnal
+ * The right test to do is "=>" (not ">") because of the additional
* ending \0. See below.
*/
if (filesize >= envsize) {
fprintf(stderr, "The input file is larger than the "
- "envrionnment partition size\n");
+ "environment partition size\n");
return EXIT_FAILURE;
}
@@ -196,7 +196,7 @@ int main(int argc, char **argv)
if (filebuf[fp] == '\n') {
if (fp == 0) {
/*
- * Newline at the beggining of the file ?
+ * Newline at the beginning of the file ?
* Ignore it.
*/
continue;