Fix build break

This commit is contained in:
Arun Prakash Jana 2020-04-13 21:42:23 +05:30
parent c58434d078
commit a9436cfe7b
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions

View File

@ -4367,6 +4367,8 @@ static int dentfill(char *path, struct entry **dents)
num_files = 0;
dir_blocks = 0;
buf = (char *)alloca(strlen(path) + NAME_MAX + 2);
if (!buf)
return 0;
if (fstatat(fd, path, &sb_path, 0) == -1)
goto exit;