summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/package.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
committerpst <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
commit4f718b5d5dce425cd7d4b8dffc42ead31b97e8be (patch)
tree65dfc78a88a3e556a4910bd8604818834a37b366 /release/sysinstall/package.c
parent0dfe9b61e4cbf3786d7f51e0703645e80c84ef26 (diff)
downloadFreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.zip
FreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.tar.gz
Put all variables in VAR_ #define's to force a single location for all
of these magic knobs. This is purely cosmetic and a documentation issue so we don't have to glop through the source code looking for gems.
Diffstat (limited to 'release/sysinstall/package.c')
-rw-r--r--release/sysinstall/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c
index 25cd40b..ff9415e 100644
--- a/release/sysinstall/package.c
+++ b/release/sysinstall/package.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: package.c,v 1.62 1997/06/13 17:55:32 jkh Exp $
+ * $Id: package.c,v 1.63 1997/09/16 10:14:22 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -64,7 +64,7 @@ packageAdd(dialogMenuItem *self)
{
char *cp;
- cp = variable_get("package");
+ cp = variable_get(VAR_PACKAGE);
if (!cp) {
msgDebug("packageAdd: No package name passed in package variable\n");
return DITEM_FAILURE;
OpenPOWER on IntegriCloud