summaryrefslogtreecommitdiff
path: root/archival/rpm2cpio.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-20 13:28:22 +0000
commite1a0d486e4804eae098571f1a6788394c2ee51ae (patch)
treec6f3435738900c8d53832eb919b1b2c3d524f2e5 /archival/rpm2cpio.c
parentdd2982882bb192ea757f32514bc2ea0bc96f5ba0 (diff)
downloadbusybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.gz
busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.bz2
busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.zip
message string changes, mostly for consistency, also -32 bytes in .rodata
Diffstat (limited to 'archival/rpm2cpio.c')
-rw-r--r--archival/rpm2cpio.c4
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);