summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-17 14:23:43 +0000
committerJim Meyering <jim@meyering.net>2001-02-17 14:23:43 +0000
commit8d509a79daccaffcda1c95658244649e058ee863 (patch)
tree90f5cf12497698586bb18843c1f7819de813f9eb /src/chown.c
parent1de5de84010b43deb767bc7412adbf65fae87819 (diff)
downloadcoreutils-8d509a79daccaffcda1c95658244649e058ee863.tar.xz
(main): `quote' the offending argument.
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chown.c b/src/chown.c
index 75f681dac..3b9a656de 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -225,7 +225,7 @@ main (int argc, char **argv)
const char *e = parse_user_spec (argv[optind], &uid, &gid,
&chopt.user_name, &chopt.group_name);
if (e)
- error (1, 0, "%s: %s", argv[optind], e);
+ error (1, 0, "%s: %s", quote (argv[optind]), e);
/* FIXME: set it to the empty string? */
if (chopt.user_name == NULL)