diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-05-14 23:42:22 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-05-22 08:44:19 +0530 |
commit | 3ca86eafbe899a448799832f8ad65d15a01f6e57 (patch) | |
tree | 94a42c45ebc4d30a17f4c752ccc624dec8434899 /src/nnn.c | |
parent | ad076db56c8fae51cbff49c084317b1ad14196f0 (diff) | |
download | nnn-3ca86eafbe899a448799832f8ad65d15a01f6e57.tar.gz |
Get device info from path
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |