diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 12:55:33 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 13:04:17 +0300 |
commit | 555af4eadb5ecb16e101b35cb6e931d3ff502d22 (patch) | |
tree | badc7aa52af983e0bc41b98277f6d47641dc3cbc /rpm2cpio.c | |
parent | 0e8dd93796a8fdafcd0328f131c8f78f1b95a3cf (diff) | |
download | rpm-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.c | 2 |
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); } |