diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-05-01 16:02:44 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-05-01 16:02:44 +0000 |
| commit | ba174a5e38b1ab764c4a36ef4dd83e80c4add148 (patch) | |
| tree | e3e0b3658b8df3a905b3117d8535bb15f42c9e80 /usr.sbin/sysinstall/variable.c | |
| parent | 8d497697b2ae8684e3ac94eff8bb9ce60dc14a3e (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/variable.c')
| -rw-r--r-- | usr.sbin/sysinstall/variable.c | 2 |
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 * |
