aboutsummaryrefslogtreecommitdiff
path: root/romfs
diff options
context:
space:
mode:
Diffstat (limited to 'romfs')
-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");
}