diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-06-01 13:59:14 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-06-01 13:59:14 +0000 |
commit | b4855d742c1b9071197679e8495f6525d0a5d316 (patch) | |
tree | c7968e5e34db30ac70e324ad73698b9ccd32cf92 /Src/builtin.c | |
parent | 772007e76c430588b0b0a234e4db90e5ad50293d (diff) | |
download | zsh-b4855d742c1b9071197679e8495f6525d0a5d316.tar.gz zsh-b4855d742c1b9071197679e8495f6525d0a5d316.tar.xz zsh-b4855d742c1b9071197679e8495f6525d0a5d316.zip |
unposted: need const for result of getsigname()
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
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 { |