Browse Source

Fix build break

master
Arun Prakash Jana 4 years ago
parent
commit
a9436cfe7b
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c 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;


Loading…
Cancel
Save