diff options
author | jkh <jkh@FreeBSD.org> | 2000-02-26 11:57:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-02-26 11:57:22 +0000 |
commit | ef07546591c6911c436e0c4cc059bb829a5e8e35 (patch) | |
tree | 4780bc1412e102fcfcbaf7990844ca3efa7ec3f0 /release | |
parent | dfef412c92bf74fc9e46725c1e67efb6d3f0b33d (diff) | |
download | FreeBSD-src-ef07546591c6911c436e0c4cc059bb829a5e8e35.zip FreeBSD-src-ef07546591c6911c436e0c4cc059bb829a5e8e35.tar.gz |
Clean up some of the abstraction in this code.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/variable.c b/release/sysinstall/variable.c index 1e2bf9a..bae7bc2 100644 --- a/release/sysinstall/variable.c +++ b/release/sysinstall/variable.c @@ -188,7 +188,7 @@ variable_check(char *data) } else if ((cp3 = index(cp, ',')) != NULL) *cp3 = '\0'; - cp2 = getenv(tmp); + cp2 = variable_get(tmp); if (cp2) { if (!*cp) return TRUE; @@ -199,7 +199,7 @@ variable_check(char *data) return FALSE; } else - return getenv(tmp) ? TRUE : FALSE; + return variable_get(tmp) ? TRUE : FALSE; } int |