From 534374755d618c9c36c9940c82756241c4b25a67 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 16 Jul 2006 08:14:35 +0000 Subject: Cleaup read() and write() variants, plus a couple of new functions like xlseek and fdlength() for the new mkswap. --- archival/gunzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archival/gunzip.c') diff --git a/archival/gunzip.c b/archival/gunzip.c index 069666f58..bd6047e13 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -112,10 +112,10 @@ int gunzip_main(int argc, char **argv) } /* do the decompression, and cleanup */ - if (bb_xread_char(src_fd) == 0x1f) { + if (xread_char(src_fd) == 0x1f) { unsigned char magic2; - magic2 = bb_xread_char(src_fd); + magic2 = xread_char(src_fd); #ifdef CONFIG_FEATURE_GUNZIP_UNCOMPRESS if (magic2 == 0x9d) { status = uncompress(src_fd, dst_fd); -- cgit v1.2.3