From: Jim Meyering Date: Sat, 17 Feb 2001 14:23:43 +0000 (+0000) Subject: (main): `quote' the offending argument. X-Git-Tag: FILEUTILS-4_0_40~8 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8d509a79daccaffcda1c95658244649e058ee863;p=thirdparty%2Fcoreutils.git (main): `quote' the offending argument. --- diff --git a/src/chown.c b/src/chown.c index 75f681dacb..3b9a656de5 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)