mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Update error to reflect actual syscall
This commit is contained in:
parent
6b7c2506db
commit
ca07068dcb
1 changed files with 1 additions and 1 deletions
2
noice.c
2
noice.c
|
@ -419,7 +419,7 @@ dentfill(DIR *dirp, struct entry **dents,
|
|||
r = fstatat(dirfd(dirp), dp->d_name, &sb,
|
||||
AT_SYMLINK_NOFOLLOW);
|
||||
if (r == -1)
|
||||
printerr(1, "stat");
|
||||
printerr(1, "fstatat");
|
||||
(*dents)[n].mode = sb.st_mode;
|
||||
n++;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue