summaryrefslogtreecommitdiff
path: root/src/factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/factor.c')
-rw-r--r--src/factor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/factor.c b/src/factor.c
index 06987c814..3066d65e6 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -30,6 +30,7 @@
#include "error.h"
#include "inttostr.h"
#include "long-options.h"
+#include "quote.h"
#include "readtokens.h"
#include "xstrtol.h"
@@ -153,9 +154,9 @@ print_factors (const char *s)
if ((err = xstrtoumax (s, NULL, 10, &n, "")) != LONGINT_OK)
{
if (err == LONGINT_OVERFLOW)
- error (0, 0, _("`%s' is too large"), s);
+ error (0, 0, _("%s is too large"), quote (s));
else
- error (0, 0, _("`%s' is not a valid positive integer"), s);
+ error (0, 0, _("%s is not a valid positive integer"), quote (s));
return false;
}
n_factors = factor (n, MAX_N_FACTORS, factors);