summaryrefslogtreecommitdiffstats
path: root/src/local.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-05-10 22:39:47 +0200
committerPali Rohár <pali.rohar@gmail.com>2014-05-10 22:39:47 +0200
commitf898ac441112fd93001e6ad46890ed13fb6b3da2 (patch)
tree6e7aa83f07525ed3015ae87a5a8b01eedbbe78df /src/local.c
parentc6ee6a8e682078e1ab0aac9d57f2ab869dada0e1 (diff)
download0xFFFF-f898ac441112fd93001e6ad46890ed13fb6b3da2.tar.bz2
all: Fix typo0.6
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/local.c b/src/local.c
index 290fba5..e90011b 100644
--- a/src/local.c
+++ b/src/local.c
@@ -212,7 +212,7 @@ static int local_nanddump(const char * file, int mtd, int offset, int length) {
free(path);
if ( ret == 0 && buf.f_bsize * buf.f_bfree < (long unsigned int)length ) {
- ERROR("Not enought free space (have: %lu, need: %d)", buf.f_bsize * buf.f_bfree, length);
+ ERROR("Not enough free space (have: %lu, need: %d)", buf.f_bsize * buf.f_bfree, length);
return 1;
}
@@ -424,7 +424,7 @@ int local_dump_image(enum image_type image, const char * file) {
}
if ( image >= nanddump[device].count ) {
- ERROR("Unsuported image type: %s", image_type_to_string(image));
+ ERROR("Unsupported image type: %s", image_type_to_string(image));
goto clean;
}