Fix an obvious thinko

-Erik
This commit is contained in:
Eric Andersen 2002-10-18 22:31:02 +00:00
parent 431a18497d
commit 2a2ab1479c

View File

@ -91,7 +91,7 @@ extern int rpm2cpio_main(int argc, char **argv)
skip_header(rpm_fd); skip_header(rpm_fd);
xread_all(rpm_fd, &magic, 2); 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"); error_msg_and_die("Invalid gzip magic");
} }