aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-08-13 04:18:30 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-08-13 04:18:30 +0000
commit0dd1c7932058925060ebc0f2dc8c0b1144712852 (patch)
tree1dfd5b2f52680c0cb2ea02ec33b3ce27b5c368f4 /usr.sbin/pkg_install/create
parent9447e122d99360bd6a016d20fd13fcc32732f6d4 (diff)
downloadsrc-0dd1c7932058925060ebc0f2dc8c0b1144712852.tar.gz
src-0dd1c7932058925060ebc0f2dc8c0b1144712852.zip
Reduce private "lesser known" function redirection to improve clarity.
Approved by: jkh
Notes
Notes: svn path=/head/; revision=81571
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r--usr.sbin/pkg_install/create/perform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 0c32ea61096f..252a4570cd1c 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -154,7 +154,7 @@ pkg_perform(char **pkgs)
* at the top.
*/
if (find_plist(&plist, PLIST_NAME) == NULL)
- add_plist_top(&plist, PLIST_NAME, basename_of(pkg));
+ add_plist_top(&plist, PLIST_NAME, basename(pkg));
/*
* We're just here for to dump out a revised plist for the FreeBSD ports