summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-05-25 06:24:41 +0000
committerjkh <jkh@FreeBSD.org>1994-05-25 06:24:41 +0000
commit50de4f0fe3642024ca5388420530632a99e80ecd (patch)
tree6350e5d0a485522b8e72ba9ae15a64e001c122f6 /usr.sbin/pkg_install
parent873ef098bd733fcb71e41acf4d9fd14c968ae456 (diff)
downloadFreeBSD-src-50de4f0fe3642024ca5388420530632a99e80ecd.zip
FreeBSD-src-50de4f0fe3642024ca5388420530632a99e80ecd.tar.gz
Change in_plist() call to find_plist().
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/create/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 7eb9ff3..1763cf2 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.7 1993/09/18 03:39:20 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.8 1994/05/19 18:27:41 alm Exp $";
#endif
/*
@@ -72,7 +72,7 @@ pkg_perform(char **pkgs)
* Run down the list and see if we've named it, if not stick in a name
* at the top.
*/
- if (!in_plist(&plist, PLIST_NAME))
+ if (find_plist(&plist, PLIST_NAME) == NULL)
add_plist_top(&plist, PLIST_NAME, pkg);
/* Make a directory to stomp around in */
OpenPOWER on IntegriCloud