summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-07-01 16:53:29 +0000
committerJim Meyering <jim@meyering.net>1994-07-01 16:53:29 +0000
commit4eb8e70031e17d1d06f9670b2b06aaea08321e61 (patch)
tree6048b1681b5a723911bc6204392d2dc652640cad /src/rm.c
parenta32610143c47068efb501354407ae8c2d0d8e6cd (diff)
downloadcoreutils-4eb8e70031e17d1d06f9670b2b06aaea08321e61.tar.xz
.
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index 722994735..1365e6656 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -228,7 +228,7 @@ remove_file (statp)
struct stat *statp;
{
if (!ignore_missing_files && (interactive || stdin_tty)
- && eaccess_stat (statp, W_OK)
+ && eaccess_stat (statp, W_OK, pathname)
#ifdef S_ISLNK
&& !S_ISLNK (statp->st_mode)
#endif