summaryrefslogtreecommitdiff
path: root/archival/rpm2cpio.c
diff options
context:
space:
mode:
authorEric Andersen2002-10-18 22:31:02 +0000
committerEric Andersen2002-10-18 22:31:02 +0000
commit2a2ab1479ce87dee7982dc14d52cda06e982c861 (patch)
treedc099346dea3ff13b00af6af5d514288c484edf3 /archival/rpm2cpio.c
parent431a18497d2564529771cf40f5fbc5d86cc50516 (diff)
downloadbusybox-2a2ab1479ce87dee7982dc14d52cda06e982c861.zip
busybox-2a2ab1479ce87dee7982dc14d52cda06e982c861.tar.gz
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 9372dc5..ecd9e78 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");
}