Browse Source

Update error to reflect actual syscall

master
sin 10 years ago
parent
commit
ca07068dcb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      noice.c

+ 1
- 1
noice.c View File

@@ -419,7 +419,7 @@ dentfill(DIR *dirp, struct entry **dents,
r = fstatat(dirfd(dirp), dp->d_name, &sb, r = fstatat(dirfd(dirp), dp->d_name, &sb,
AT_SYMLINK_NOFOLLOW); AT_SYMLINK_NOFOLLOW);
if (r == -1) if (r == -1)
printerr(1, "stat");
printerr(1, "fstatat");
(*dents)[n].mode = sb.st_mode; (*dents)[n].mode = sb.st_mode;
n++; n++;
} }


Loading…
Cancel
Save