diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-19 20:03:11 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-19 20:03:11 +0000 |
commit | 67d22815449380023fbbfc2da7b7ba4668c525e6 (patch) | |
tree | b992d4d61339f90505a88bc885b3ecedd6c4ef22 /src | |
parent | bbc2ac99c1c717248d9d4594e0ad0e683ea7da6d (diff) | |
download | coreutils-67d22815449380023fbbfc2da7b7ba4668c525e6.tar.xz |
(describe_change): Describe changes to -1:-1
without using "to OWNERSHIP" phrase.
Diffstat (limited to 'src')
-rw-r--r-- | src/chown-core.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/chown-core.c b/src/chown-core.c index 31ea89ca4..28cec4b53 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -124,19 +124,19 @@ describe_change (const char *file, enum Change_status changed, switch (changed) { case CH_SUCCEEDED: - fmt = (user - ? _("changed ownership of %s to %s\n") - : _("changed group of %s to %s\n")); + fmt = (user ? _("changed ownership of %s to %s\n") + : group ? _("changed group of %s to %s\n") + : _("no change to ownership of %s\n")); break; case CH_FAILED: - fmt = (user - ? _("failed to change ownership of %s to %s\n") - : _("failed to change group of %s to %s\n")); + fmt = (user ? _("failed to change ownership of %s to %s\n") + : group ? _("failed to change group of %s to %s\n") + : _("failed to change ownership of %s\n")); break; case CH_NO_CHANGE_REQUESTED: - fmt = (user - ? _("ownership of %s retained as %s\n") - : _("group of %s retained as %s\n")); + fmt = (user ? _("ownership of %s retained as %s\n") + : group ? _("group of %s retained as %s\n") + : _("ownership of %s retained\n")); break; default: abort (); |