diff options
| author | Eitan Adler <eadler@FreeBSD.org> | 2011-11-11 22:27:09 +0000 |
|---|---|---|
| committer | Eitan Adler <eadler@FreeBSD.org> | 2011-11-11 22:27:09 +0000 |
| commit | 14517324d067fe946e847670396ac2b88dd94a77 (patch) | |
| tree | b0aaf816e7ac148fc29da56a9954b205e2ec5de2 /usr.sbin | |
| parent | 2c89ac5e814c234546935e2a59bca8d226ff394d (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/pkg_install/lib/version.c | 2 |
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 0852ba12d362..c25d272362a2 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; |
