diff options
Diffstat (limited to 'lib/libedit/term.c')
-rw-r--r-- | lib/libedit/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 18248f5..65fd1a1 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -1222,7 +1222,7 @@ term_echotc(el, argc, argv) int arg_need, arg_cols, arg_rows; int verbose = 0, silent = 0; char *area; - static char *fmts = "%s\n", *fmtd = "%d\n"; + static const char fmts[] = "%s\n", fmtd[] = "%d\n"; struct termcapstr *t; char buf[TC_BUFSIZE]; |