OSDN Git Service

Fix an obvious thinko
authorEric Andersen <andersen@codepoet.org>
Fri, 18 Oct 2002 22:31:02 +0000 (22:31 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 18 Oct 2002 22:31:02 +0000 (22:31 -0000)
 -Erik

archival/rpm2cpio.c

index 9372dc5..ecd9e78 100644 (file)
@@ -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");
        }