.
[gnulib.git] / lib / argmatch.c
index af96c8c..005be88 100644 (file)
@@ -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.