summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-08-13 04:18:30 +0000
committerobrien <obrien@FreeBSD.org>2001-08-13 04:18:30 +0000
commit49568467b45dc390f37ede6491d231082f2aa6b7 (patch)
tree1dfd5b2f52680c0cb2ea02ec33b3ce27b5c368f4 /usr.sbin/pkg_install/create/perform.c
parent260a2ab3624fd4dd1837cf5edcdf4a9fd946ea60 (diff)
downloadFreeBSD-src-49568467b45dc390f37ede6491d231082f2aa6b7.zip
FreeBSD-src-49568467b45dc390f37ede6491d231082f2aa6b7.tar.gz
Reduce private "lesser known" function redirection to improve clarity.
Approved by: jkh
Diffstat (limited to 'usr.sbin/pkg_install/create/perform.c')
-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 0c32ea6..252a457 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
OpenPOWER on IntegriCloud