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 /rpmqv.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 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -210,11 +210,11 @@ int main(int argc, char *argv[]) /* Set the major mode based on argv[0] */ #ifdef IAM_RPMBT - if (!strcmp(__progname, "rpmbuild")) bigMode = MODE_BUILD; + if (rstreq(__progname, "rpmbuild")) bigMode = MODE_BUILD; #endif #ifdef IAM_RPMQV - if (!strcmp(__progname, "rpmquery")) bigMode = MODE_QUERY; - if (!strcmp(__progname, "rpmverify")) bigMode = MODE_VERIFY; + if (rstreq(__progname, "rpmquery")) bigMode = MODE_QUERY; + if (rstreq(__progname, "rpmverify")) bigMode = MODE_VERIFY; #endif #if defined(IAM_RPMQV) |