about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 69d78c926..6bec738f4 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4978,7 +4978,7 @@ bin_trap(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
 		    shfunctab->printnode(hn, 0);
 		DPUTS(!hn, "BUG: I did not find any trap functions!");
 	    } else if (sigtrapped[sig]) {
-		char *name = getsigname(sig);
+		const char *name = getsigname(sig);
 		if (!siglists[sig])
 		    printf("trap -- '' %s\n", name);
 		else {