diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2023-02-09 15:34:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2023-02-10 12:00:29 +0200 |
commit | 2f9f1ce6d6172c33c7f45d8a94bdab21f16e73e3 (patch) | |
tree | ba1506b06d1c6a7d8e0050e8cc70839fb1d89d61 /include | |
parent | 1f3e923264c90fecd8670492c341000723178eb6 (diff) | |
download | rpm-2f9f1ce6d6172c33c7f45d8a94bdab21f16e73e3.tar.gz |
Fix rpmTagGetValue() error return documentation
It's literally returning RPMTAG_NOT_FOUND, not -1
Diffstat (limited to 'include')
-rw-r--r-- | include/rpm/rpmtag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpm/rpmtag.h b/include/rpm/rpmtag.h index 24a5b8103..8314cd476 100644 --- a/include/rpm/rpmtag.h +++ b/include/rpm/rpmtag.h @@ -528,7 +528,7 @@ rpmTagClass rpmTagGetClass(rpmTagVal tag); /** \ingroup rpmtag * Return tag value from name. * @param tagstr name of tag - * @return tag value, -1 on not found + * @return tag value, RPMTAG_NOT_FOUND on not found */ rpmTagVal rpmTagGetValue(const char * tagstr); |