summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-01-02 09:19:13 +0000
committerobrien <obrien@FreeBSD.org>2004-01-02 09:19:13 +0000
commit74a2ee415006c7cb0942f3312ea1bc5cf43efe69 (patch)
tree3ee371e6615dd602b9c78899e4abef55b833fed4 /usr.sbin/sysinstall/index.c
parentade370c0989d9c16d476d22bdddd8eec52c68045 (diff)
downloadFreeBSD-src-74a2ee415006c7cb0942f3312ea1bc5cf43efe69.zip
FreeBSD-src-74a2ee415006c7cb0942f3312ea1bc5cf43efe69.tar.gz
s/package_exists/package_installed/g as that's much more descriptive of
what the function does.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index b7ef309..4ceea81 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -4,8 +4,6 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $FreeBSD$
- *
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
*
@@ -32,6 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD$
*/
#include <fcntl.h>
@@ -220,7 +219,7 @@ new_index(char *name, char *pathto, char *prefix, char *comment, char *descr, ch
tmp->maintainer = _strdup(maint);
tmp->deps = _strdup(deps);
tmp->depc = 0;
- tmp->installed = package_exists(name);
+ tmp->installed = package_installed(name);
tmp->volume = volume;
return tmp;
}
OpenPOWER on IntegriCloud