diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-11 15:52:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-11 15:52:17 +0000 |
commit | bb880dfeb557a0473cf34dd1ba39674b9ec3c549 (patch) | |
tree | 0b56670ffc615863b8fa86754f2c2e31b2550edc | |
parent | b8e81480aaf4da81ced9196bfecb1478a538f7b8 (diff) | |
download | gnulib-bb880dfeb557a0473cf34dd1ba39674b9ec3c549.tar.gz |
(argmatch_invalid): Use quotearg_n_style (0, ...
and quote_n (1, ... to avoid clobbering a buffer.
-rw-r--r-- | lib/argmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c index af96c8cbed..c86ba71b46 100644 --- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -160,8 +160,8 @@ argmatch_invalid (const char *context, const char *value, int problem) ? _("invalid argument %s for %s") : _("ambiguous argument %s for %s")); - error (0, 0, format, quotearg_style (ARGMATCH_QUOTING_STYLE, value), - quote (context)); + error (0, 0, format, quotearg_n_style (0, ARGMATCH_QUOTING_STYLE, value), + quote_n (1, context)); } /* List the valid arguments for argmatch. |