summaryrefslogtreecommitdiff
path: root/src/operand2sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/operand2sig.c')
-rw-r--r--src/operand2sig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/operand2sig.c b/src/operand2sig.c
index bc3b2279e..d41038778 100644
--- a/src/operand2sig.c
+++ b/src/operand2sig.c
@@ -28,6 +28,7 @@
#include "system.h"
#include "error.h"
+#include "quote.h"
#include "sig2str.h"
#include "operand2sig.h"
@@ -66,7 +67,7 @@ operand2sig (char const *operand, char *signame)
if (signum < 0 || sig2str (signum, signame) != 0)
{
- error (0, 0, _("%s: invalid signal"), operand);
+ error (0, 0, _("%s: invalid signal"), quote (operand));
return -1;
}