Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-19 02:31:02 +0400
committerEric Andersen <andersen@codepoet.org>2002-10-19 02:31:02 +0400
commit2a2ab1479ce87dee7982dc14d52cda06e982c861 (patch)
treedc099346dea3ff13b00af6af5d514288c484edf3 /archival/rpm2cpio.c
parent431a18497d2564529771cf40f5fbc5d86cc50516 (diff)
Fix an obvious thinko
-Erik
Diffstat (limited to 'archival/rpm2cpio.c')
-rw-r--r--archival/rpm2cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/rpm2cpio.c b/archival/rpm2cpio.c
index 9372dc5e1..ecd9e7801 100644
--- a/archival/rpm2cpio.c
+++ b/archival/rpm2cpio.c
@@ -91,7 +91,7 @@ extern int rpm2cpio_main(int argc, char **argv)
skip_header(rpm_fd);
xread_all(rpm_fd, &magic, 2);
- if ((magic[0] != 0x1f) || (magic[1] != 0x8b))
+ if ((magic[0] != 0x1f) || (magic[1] != 0x8b)) {
error_msg_and_die("Invalid gzip magic");
}