Browse Source

Get device info from path

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

+ 1
- 1
src/nnn.c View File

@@ -2659,7 +2659,7 @@ static int dentfill(char *path, struct entry **dents)
num_files = 0;
dir_blocks = 0;

if (fstatat(fd, ".", &sb_path, 0) == -1) {
if (fstatat(fd, path, &sb_path, 0) == -1) {
closedir(dirp);
printwarn(NULL);
return 0;


Loading…
Cancel
Save