diff options
Diffstat (limited to 'runit/chpst.c')
-rw-r--r-- | runit/chpst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runit/chpst.c b/runit/chpst.c index 082d726..1a68eb7 100644 --- a/runit/chpst.c +++ b/runit/chpst.c @@ -104,7 +104,7 @@ static NOINLINE void edir(const char *directory_name) xchdir(directory_name); dir = xopendir("."); for (;;) { - RESERVE_CONFIG_BUFFER(buf, 256); + char buf[256]; char *tail; int size; @@ -148,7 +148,6 @@ static NOINLINE void edir(const char *directory_name) break; } xsetenv(d->d_name, buf); - RELEASE_CONFIG_BUFFER(buf); } closedir(dir); if (fchdir(wdir) == -1) |