summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-08-31 12:55:33 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-08-31 13:04:17 +0300
commit555af4eadb5ecb16e101b35cb6e931d3ff502d22 (patch)
treebadc7aa52af983e0bc41b98277f6d47641dc3cbc /rpm2cpio.c
parent0e8dd93796a8fdafcd0328f131c8f78f1b95a3cf (diff)
downloadrpm-555af4eadb5ecb16e101b35cb6e931d3ff502d22.tar.gz
rpm-555af4eadb5ecb16e101b35cb6e931d3ff502d22.tar.bz2
rpm-555af4eadb5ecb16e101b35cb6e931d3ff502d22.zip
Replace equal/not equal uses of str[n]cmp() with rstreq[n] in binaries
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index 1270ea89d..92de0faf0 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
if (argc == 1)
fdi = fdDup(STDIN_FILENO);
else {
- if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) {
+ if (rstreq(argv[1], "-h") || rstreq(argv[1], "--help")) {
fprintf(stderr, "Usage: rpm2cpio file.rpm\n");
exit(EXIT_FAILURE);
}