From 7f2149489fe62373a13792d3de6c33c39725c76c Mon Sep 17 00:00:00 2001
From: Pascal Bellard
Date: Fri, 28 Aug 2009 06:20:33 +0200
Subject: rpm2cpio: handle bz2 too; code shrink

function                                             old     new   delta
skip_header                                          142      99     -43
rpm2cpio_main                                        321     183    -138
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-181)           Total: -181 bytes

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 libbb/read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libbb')

diff --git a/libbb/read.c b/libbb/read.c
index b58982b..b93a695 100644
--- a/libbb/read.c
+++ b/libbb/read.c
@@ -336,7 +336,7 @@ int FAST_FUNC open_zipped(const char *fname)
 		 || (ENABLE_FEATURE_SEAMLESS_BZ2 && strcmp(sfx, ".bz2") == 0)
 		) {
 			/* .gz and .bz2 both have 2-byte signature, and their
-			 * unpack_XXX_stream want this header skipped. */
+			 * unpack_XXX_stream wants this header skipped. */
 			xread(fd, &magic, 2);
 #if ENABLE_FEATURE_SEAMLESS_GZ
 #if BB_MMU
-- 
cgit v1.1