summaryrefslogtreecommitdiff
path: root/rpmqv.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 /rpmqv.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 'rpmqv.c')
-rw-r--r--rpmqv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmqv.c b/rpmqv.c
index f14b80e93..e226f42d6 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -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)