Patchwork [resend] mkfs_jffs2: fix typo for word unknown

login
register
mail settings
Submitter Andy Shevchenko
Date Oct. 10, 2011, 8:40 a.m.
Message ID <a2202ab2af2fb20aead5d5956bd46dc030082eef.1318235873.git.andriy.shevchenko@linux.intel.com>
Download mbox | patch
Permalink /patch/118654/
State New
Headers show

Comments

Andy Shevchenko - Oct. 10, 2011, 8:40 a.m.
Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 compr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Bityutskiy, Artem - Oct. 14, 2011, 9:20 a.m.
On Mon, 2011-10-10 at 11:40 +0300, Andy Shevchenko wrote:
> Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Pushed both, thanks!

Patch

diff --git a/compr.c b/compr.c
index 2d3a56b..cb4432e 100644
--- a/compr.c
+++ b/compr.c
@@ -320,7 +320,7 @@  uint16_t jffs2_compress( unsigned char *data_in, unsigned char **cpage_out,
 			}
 			break;
 		default:
-			fprintf(stderr,"mkfs.jffs2: unknow compression mode.\n");
+			fprintf(stderr,"mkfs.jffs2: unknown compression mode.\n");
 	}
 out:
 	if (ret == JFFS2_COMPR_NONE) {
@@ -416,7 +416,7 @@  char *jffs2_stats(void)
 			act_buf += sprintf(act_buf, "favourlzo");
 			break;
 		default:
-			act_buf += sprintf(act_buf,"unkown");
+			act_buf += sprintf(act_buf, "unknown");
 			break;
 	}
 	act_buf += sprintf(act_buf,"\nCompressors:\n");