aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-18 22:31:02 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-18 22:31:02 +0000
commit2a2ab1479ce87dee7982dc14d52cda06e982c861 (patch)
treedc099346dea3ff13b00af6af5d514288c484edf3
parent431a18497d2564529771cf40f5fbc5d86cc50516 (diff)
downloadbusybox-2a2ab1479ce87dee7982dc14d52cda06e982c861.tar.gz
Fix an obvious thinko
-Erik
-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");
}