summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/variable.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-05-01 16:02:44 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-05-01 16:02:44 +0000
commitba174a5e38b1ab764c4a36ef4dd83e80c4add148 (patch)
treee3e0b3658b8df3a905b3117d8535bb15f42c9e80 /usr.sbin/sysinstall/variable.c
parent8d497697b2ae8684e3ac94eff8bb9ce60dc14a3e (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/variable.c')
-rw-r--r--usr.sbin/sysinstall/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/variable.c b/usr.sbin/sysinstall/variable.c
index ad783fc63160..e86104fd100a 100644
--- a/usr.sbin/sysinstall/variable.c
+++ b/usr.sbin/sysinstall/variable.c
@@ -312,7 +312,7 @@ pvariable_set(char *var)
if (index(var, '=') == NULL)
msgFatal("Invalid variable format: %s", var);
strlcat(tmp, var, 1024);
- (void)putenv(strdup(tmp));
+ putenv(tmp);
}
char *