diff options
Diffstat (limited to 'src/rm.c')
-rw-r--r-- | src/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |