summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-10 10:47:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-10 10:47:47 +0000
commitc028ec280a71c45ba71bb4712db1968391a440cc (patch)
tree3ade5bb5fc1c0d7ee92eec47a2e3ca6d81f0fb59
parent0a009c3c6b9b6d43575dcdda46076e7a87522426 (diff)
Typo fixes
-rw-r--r--include/usage.h2
-rw-r--r--libbb/sha1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 63aff315b..fcd488ea7 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2376,7 +2376,7 @@
"Create MIME-encoded message\n" \
"\nOptions:" \
"\n -C Charset" \
- "\n -e Tranfer encoding. Ignored. base64 is assumed" \
+ "\n -e Transfer encoding. Ignored. base64 is assumed" \
"\n" \
"\nOther options are silently ignored." \
diff --git a/libbb/sha1.c b/libbb/sha1.c
index 44ea4eb47..ae72e4da7 100644
--- a/libbb/sha1.c
+++ b/libbb/sha1.c
@@ -97,7 +97,7 @@ void FAST_FUNC sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx)
if ((ctx->count[0] += length) < length)
ctx->count[1]++;
- while (length >= freeb) { /* tranfer whole blocks while possible */
+ while (length >= freeb) { /* transfer whole blocks while possible */
memcpy(((unsigned char *) ctx->wbuf) + pos, sp, freeb);
sp += freeb;
length -= freeb;