summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmstring.h b/rpmio/rpmstring.h
index 607d1b6fc..e0aa511c2 100644
--- a/rpmio/rpmstring.h
+++ b/rpmio/rpmstring.h
@@ -121,7 +121,7 @@ static inline int rstreq(const char *s1, const char *s2)
* @param n compare at most n characters
* @return 0 if strings differ, 1 if equal
*/
-static inline int rstrneq(const char *s1, const char *s2, size_t n)
+static inline int rstreqn(const char *s1, const char *s2, size_t n)
{
return (strncmp(s1, s2, n) == 0);
}