mirror of
https://github.com/jarun/nnn.git
synced 2025-03-20 05:19:43 +00:00
Fix build break
This commit is contained in:
parent
c58434d078
commit
a9436cfe7b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue