aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sin <sin@2f30.org>2014-11-06 14:41:16 +0000
committerGravatar sin <sin@2f30.org>2014-11-06 14:41:16 +0000
commitca07068dcb1d506bd999f61b5942fb09194a0f44 (patch)
treea801ab2d820d53d01b2bae432a87514dfea7490e
parent6b7c2506db2844d718be714e88cb631b0c721ad2 (diff)
downloadnnn-ca07068dcb1d506bd999f61b5942fb09194a0f44.tar.gz
Update error to reflect actual syscall
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index fdda216..bd905f0 100644
--- a/noice.c
+++ b/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++;
}