diff options
Diffstat (limited to 'archival/rpm2cpio.c')
-rw-r--r-- | archival/rpm2cpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/rpm2cpio.c b/archival/rpm2cpio.c index c00c6be65..3442046c4 100644 --- a/archival/rpm2cpio.c +++ b/archival/rpm2cpio.c | |||
@@ -37,10 +37,10 @@ static void skip_header(int rpm_fd) | |||
37 | 37 | ||
38 | xread(rpm_fd, &header, sizeof(struct rpm_header)); | 38 | xread(rpm_fd, &header, sizeof(struct rpm_header)); |
39 | if (strncmp((char *) &header.magic, RPM_HEADER_MAGIC, 3) != 0) { | 39 | if (strncmp((char *) &header.magic, RPM_HEADER_MAGIC, 3) != 0) { |
40 | bb_error_msg_and_die("Invalid RPM header magic"); /* Invalid magic */ | 40 | bb_error_msg_and_die("invalid RPM header magic"); /* Invalid magic */ |
41 | } | 41 | } |
42 | if (header.version != 1) { | 42 | if (header.version != 1) { |
43 | bb_error_msg_and_die("Unsupported RPM header version"); /* This program only supports v1 headers */ | 43 | bb_error_msg_and_die("unsupported RPM header version"); /* This program only supports v1 headers */ |
44 | } | 44 | } |
45 | header.entries = ntohl(header.entries); | 45 | header.entries = ntohl(header.entries); |
46 | header.size = ntohl(header.size); | 46 | header.size = ntohl(header.size); |