redhat analysis: pwdx

This commit is contained in:
Jim Warner 2011-10-06 12:21:28 -05:00 committed by Sami Kerola
parent b23baee15c
commit 3f75390563

2
pwdx.c
View File

@ -35,7 +35,7 @@ static void version(void)
int main(int argc, char* argv[])
{
char buf[PATH_MAX+1];
static char buf[PATH_MAX+1]; // null terminate string via static
regex_t re;
int i;