diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-09-20 15:09:52 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-09-20 15:09:52 +0300 |
commit | 3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14 (patch) | |
tree | f1e29034af384acc2a63ab7cd5e7fcf423c6d6a5 /tools | |
parent | bbf7574d7f368e8d11600b54dfd24a0dafd555fb (diff) | |
download | rpm-3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14.tar.gz rpm-3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14.tar.bz2 rpm-3b8da4ed118c6da6dab1cb7c0ecd0933c6d14f14.zip |
Rename tagName/Value/Type() to rpmTagGet*()
- namespacing
- avoid collisions with tagtype definitions
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rpminject.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/rpminject.c b/tools/rpminject.c index d071af53d..b44c4871c 100644 --- a/tools/rpminject.c +++ b/tools/rpminject.c @@ -311,19 +311,19 @@ headerInject(Header *hdrp, cmd_t *cmds[], int ncmds) switch(c->injmode) { case INJ_ADD: if (!(rc && c->done > 0)) { - warnx(_("failed to add tag %s"), tagName(c->tagval)); + warnx(_("failed to add tag %s"), rpmTagGetName(c->tagval)); ec = 1; } break; case INJ_DELETE: if (!(!rc && c->done > 0)) { - warnx(_("failed to delete tag %s"), tagName(c->tagval)); + warnx(_("failed to delete tag %s"), rpmTagGetName(c->tagval)); ec = 1; } break; case INJ_MODIFY: if (!(rc && c->done > 0)) { - warnx(_("failed to modify tag %s"), tagName(c->tagval)); + warnx(_("failed to modify tag %s"), rpmTagGetName(c->tagval)); ec = 1; } break; @@ -499,7 +499,7 @@ main(int argc, char *argv[]) cmds[ncmds]->injmode = cmds[ncmds-1]->injmode; ncmds++; } - c->tagval = tagValue(optArg); + c->tagval = rpmTagGetValue(optArg); if (!((c->tagval >= RPMTAG_NAME && c->tagval < RPMTAG_FIRSTFREE_TAG) || c->tagval >= RPMTAG_EXTERNAL_TAG)) errx(EXIT_FAILURE, _("unknown rpm tag \"--tag %s\""), optArg); |