Update error to reflect actual syscall

This commit is contained in:
sin 2014-11-06 14:41:16 +00:00
parent 6b7c2506db
commit ca07068dcb
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}