summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-11-11 22:27:09 +0000
committereadler <eadler@FreeBSD.org>2011-11-11 22:27:09 +0000
commit8710aaed7e5126453e85553f99198552d4e65810 (patch)
treeb0aaf816e7ac148fc29da56a9954b205e2ec5de2 /usr.sbin/pkg_install/lib
parent38110cede235ec634a3022a75f845940bd25a1ea (diff)
downloadFreeBSD-src-8710aaed7e5126453e85553f99198552d4e65810.zip
FreeBSD-src-8710aaed7e5126453e85553f99198552d4e65810.tar.gz
- add a missing "be" and "in"
- fix other errors introduced when committing r226436 - add 'function' to a sentence where it makes sense Submitted by: delphij Submitted by: dougb Submitted by: jhb Approved by: dougb Approved by: jhb
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-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 0852ba1..c25d272 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 pkgname */
+ /* Look for the last '-' in the pkgname */
ch = strrchr(pkgname, '-');
/* Cheat if we are just passed a version, not a valid package name */
versionstr = ch ? ch + 1 : pkgname;
OpenPOWER on IntegriCloud