X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargmatch.c;h=005be881f21b4c0aa67c958b9bd82e2a2c28ec70;hb=7518b4fbb51d5c858aa79f9e9eef676258efde23;hp=af96c8cbed61f7f8c47ccdd3e6ec1521e68c2164;hpb=cb9041da45ba1b97d765fce26388b8568e012766;p=gnulib.git diff --git a/lib/argmatch.c b/lib/argmatch.c index af96c8cbe..005be881f 100644 --- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -39,6 +39,7 @@ #include "error.h" #include "quotearg.h" #include "quote.h" +#include "unlocked-io.h" /* When reporting an invalid argument, show nonprinting characters by using the quoting style ARGMATCH_QUOTING_STYLE. Do not use @@ -160,8 +161,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.