nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3ca86eafbe899a448799832f8ad65d15a01f6e57
parent ad076db56c8fae51cbff49c084317b1ad14196f0
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Tue, 14 May 2019 23:42:22 +0530

Get device info from path

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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;