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/uncompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/uncompress.c') diff --git a/archival/uncompress.c b/archival/uncompress.c index b282fe811..801293fd9 100644 --- a/archival/uncompress.c +++ b/archival/uncompress.c @@ -70,7 +70,7 @@ int uncompress_main(int argc, char **argv) } /* do the decompression, and cleanup */ - if ((bb_xread_char(src_fd) != 0x1f) || (bb_xread_char(src_fd) != 0x9d)) { + if ((xread_char(src_fd) != 0x1f) || (xread_char(src_fd) != 0x9d)) { bb_error_msg_and_die("Invalid magic"); } -- cgit v1.2.3