From ca07068dcb1d506bd999f61b5942fb09194a0f44 Mon Sep 17 00:00:00 2001
From: sin <sin@2f30.org>
Date: Thu, 6 Nov 2014 14:41:16 +0000
Subject: [PATCH] Update error to reflect actual syscall

---
 noice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/noice.c b/noice.c
index fdda2162..bd905f0c 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++;
 	}
-- 
2.51.0