Fix an obvious thinko
-Erik
This commit is contained in:
parent
431a18497d
commit
2a2ab1479c
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user