diff options
author | Philipp Klaus Krause <pkk@spth.de> | 2020-10-14 14:29:27 +0200 |
---|---|---|
committer | Philipp Klaus Krause <pkk@spth.de> | 2020-10-14 14:29:27 +0200 |
commit | 36640a8884aaddcce3eb892282ba88e839bca164 (patch) | |
tree | e23f3e620054bc839a2b75f02254e92e7804afeb /curs_lib.c | |
parent | 1061dcbcaece508ee536130d1a8681151d682b82 (diff) |
Since the string from strerror should never be modified, use const.
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -939,7 +939,7 @@ void mutt_endwin (const char *msg) void mutt_perror (const char *s) { - char *p = strerror (errno); + const char *p = strerror (errno); dprint (1, (debugfile, "%s: %s (errno = %d)\n", s, p ? p : "unknown error", errno)); |