From b6532a528adb3dd9d7062af3a3ef6020d88192c2 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 25 May 1994 06:24:41 +0000 Subject: [PATCH] Change in_plist() call to find_plist(). --- usr.sbin/pkg_install/create/perform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 7eb9ff38ed39..1763cf273664 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 */