aboutsummaryrefslogtreecommitdiff
path: root/romfs/tools
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-12-24 09:47:46 +0100
committerNikunj A. Dadhania <nikunj@linux.vnet.ibm.com>2013-01-04 10:12:48 +0530
commitd0700685741e668a25a4cc1e2ce1994377dd42b4 (patch)
treeb813fda2e1521e9f5e2a374b2c342cdd978c19cf /romfs/tools
parent0ad10f26c94a86a0c9c3970e53f9a9f6a744055d (diff)
downloadSLOF-d0700685741e668a25a4cc1e2ce1994377dd42b4.zip
SLOF-d0700685741e668a25a4cc1e2ce1994377dd42b4.tar.gz
SLOF-d0700685741e668a25a4cc1e2ce1994377dd42b4.tar.bz2
Spelling fixes in comments and debug messages
Most of these errors were found by codespell: controler -> controller appropiate -> appropriate devide -> divide comming -> coming seperate -> separate reponsible -> responsible initialization -> initialization successfull -> successful whithin -> within recieve -> receive wich -> which occurence -> occurrence beggining -> beginning accessable -> accessible proccess -> process succesfuly -> successfully immediatly -> immediately prefered -> preferred avaliable -> available threshhold -> threshold statistsics -> statistics endianess -> endianness positon -> position writen -> written occurence -> occurrence upto -> up to overwriten -> overwritten availabe -> available enviroment -> environment intruction -> instruction thru -> through substract -> subtract occured -> occurred begining -> beginning lenght -> length atributes -> attributes preceeding -> preceding defintion -> definition decriptor -> descriptor Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Diffstat (limited to 'romfs/tools')
-rw-r--r--romfs/tools/build_ffs.c2
-rw-r--r--romfs/tools/create_crc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/romfs/tools/build_ffs.c b/romfs/tools/build_ffs.c
index d00fecb..218de75 100644
--- a/romfs/tools/build_ffs.c
+++ b/romfs/tools/build_ffs.c
@@ -310,7 +310,7 @@ next_file_address(struct ffs_header_t *hdr, unsigned int rom_pos, int hdrsize,
return -1;
}
- /* spin offset to new positon */
+ /* spin offset to new position */
if (pad8_num(hdr->romaddr) != hdr->romaddr) {
printf("BUG!!!! pad8_num(hdr->romaddr) != hdr->romaddr\n");
return -1;
diff --git a/romfs/tools/create_crc.c b/romfs/tools/create_crc.c
index 8ea6347..51f137d 100644
--- a/romfs/tools/create_crc.c
+++ b/romfs/tools/create_crc.c
@@ -115,7 +115,7 @@ createHeaderImage(int notime)
}
// length must be 13 instead 12 because of terminating
// NUL. Therefore uH.stH.platform_revison must be
- // writen later to overwrite the terminating NUL
+ // written later to overwrite the terminating NUL
if (strftime(dastr, 15, "0x%Y%m%d%H%M", tm) == 0) {
printf("strftime error\n");
}