summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-12 08:00:50 +0000
committerJim Meyering <jim@meyering.net>2002-06-12 08:00:50 +0000
commit7e6aff288f5e7453292caa93c66a11852fadb683 (patch)
tree7f867f542fb81c37d04cc18fc640fdc8af992517 /src
parentc5b3b8e2b61b83c4a8066f7f81d43fbeccc22a10 (diff)
downloadcoreutils-7e6aff288f5e7453292caa93c66a11852fadb683.tar.xz
(rm): Fix typo in assertion.
Diffstat (limited to 'src')
-rw-r--r--src/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index cd4ef6e45..6fc8a1dc2 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -1024,7 +1024,7 @@ rm (size_t n_files, char const *const *file, struct rm_options const *x)
for (i = 0; i < n_files; i++)
{
enum RM_status s = rm_1 (file[i], x, &cwd_state);
- assert (VALID_STATUS (status));
+ assert (VALID_STATUS (s));
UPDATE_STATUS (status, s);
}