diff options
author | Jim Meyering <jim@meyering.net> | 2001-02-17 14:23:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-02-17 14:23:43 +0000 |
commit | 8d509a79daccaffcda1c95658244649e058ee863 (patch) | |
tree | 90f5cf12497698586bb18843c1f7819de813f9eb | |
parent | 1de5de84010b43deb767bc7412adbf65fae87819 (diff) | |
download | coreutils-8d509a79daccaffcda1c95658244649e058ee863.tar.xz |
(main): `quote' the offending argument.
-rw-r--r-- | src/chown.c | 2 |
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) |