summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-04 09:42:53 +0000
committerJim Meyering <jim@meyering.net>2003-01-04 09:42:53 +0000
commitb09da5c9d0bcff53bd6fd3fca3561ca5c94d38d4 (patch)
treee70728e8d4d164d2371059fc89d384315246ced9 /src/remove.c
parent24326116462fe71c9c1a73ca7cb6558924e369a5 (diff)
downloadcoreutils-b09da5c9d0bcff53bd6fd3fca3561ca5c94d38d4.tar.xz
(remove_cwd_entries): Fix typos in comment.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c
index 377f96395..6269c5097 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -805,11 +805,11 @@ remove_entry (DS const *ds, char const *filename, struct rm_options const *x,
/* Remove entries in `.', the current working directory (cwd).
Upon finding a directory that is both non-empty and that can be chdir'd
- into, return zero and set *SUBDIR and fill in SUBDIR_SB, where
+ into, return RM_OK and set *SUBDIR and fill in SUBDIR_SB, where
SUBDIR is the malloc'd name of the subdirectory if the chdir succeeded,
NULL otherwise (e.g., if opendir failed or if there was no subdirectory).
Likewise, SUBDIR_SB is the result of calling lstat on SUBDIR.
- Return RM_OK if all entries are removed. Remove RM_ERROR if any
+ Return RM_OK if all entries are removed. Return RM_ERROR if any
entry cannot be removed. Otherwise, return RM_USER_DECLINED if
the user declines to remove at least one entry. Remove as much as
possible, continuing even if we fail to remove some entries. */