diff options
Diffstat (limited to 'lib/libpkg/version.c')
-rw-r--r-- | lib/libpkg/version.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpkg/version.c b/lib/libpkg/version.c index 1b7bb5b..123fd5d2 100644 --- a/lib/libpkg/version.c +++ b/lib/libpkg/version.c @@ -76,7 +76,7 @@ split_version(const char *pkgname, const char **endname, unsigned long *epoch, u if (pkgname == NULL) errx(2, "%s: Passed NULL pkgname.", __func__); - /* Look for the last '-' the the pkgname */ + /* Look for the last '-' the pkgname */ ch = strrchr(pkgname, '-'); /* Cheat if we are just passed a version, not a valid package name */ versionstr = ch ? ch + 1 : pkgname; |