add missing )

SVN revision: 69704
This commit is contained in:
Carsten Haitzler 2012-03-28 12:55:08 +00:00
parent 6233bd09f0
commit 56c31ab510
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ env_set(const char *var, const char *val)
char *buf;
size_t size = strlen(var) + 1 + strlen(val) + 1;
buf = alloca(size;
buf = alloca(size);
snprintf(buf, size, "%s=%s", var, val);
if (getenv(var)) putenv(buf);
else putenv(strdup(buf));