summaryrefslogtreecommitdiff
path: root/lib/tagName.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tagName.c')
-rw-r--r--lib/tagName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tagName.c b/lib/tagName.c
index 38cd8ead9..02c9fa137 100644
--- a/lib/tagName.c
+++ b/lib/tagName.c
@@ -41,8 +41,8 @@ const char *const tagName(int tag)
if (tag != rpmTagTable[i].val)
continue;
strcpy(nameBuf, rpmTagTable[i].name + 7);
- for (s = nameBuf+1; *s; s++)
- *s = tolower(*s);
+ for (s = nameBuf+1; *s != '\0'; s++)
+ *s = xtolower(*s);
break;
}
return nameBuf;