aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-10-16 14:30:28 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-10-16 14:30:28 +0000
commit36daf0495aa68d669ac6abf004940ec1b1e83e42 (patch)
tree14e1117ec0e7000b8d3c4741569280dc7151708c /usr.sbin/pkg_install
parent80f1c58b0a57fec2f89e018a2a2fb8c4fcf61f2b (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/version.c b/usr.sbin/pkg_install/lib/version.c
index d9c4fe7e070c..0852ba12d362 100644
--- a/usr.sbin/pkg_install/lib/version.c
+++ b/usr.sbin/pkg_install/lib/version.c
@@ -66,7 +66,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;