X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Flog.c;h=c15b95da16bfe9cccaada31bd6433da5c1e87dcb;hp=cb1fbac764d7a64d75a7f8bd5ad03dfb467fd996;hb=48a681c741993e61f2a9404b75b73d011b9e184e;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee diff --git a/src/helper/log.c b/src/helper/log.c index cb1fbac764..c15b95da16 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -52,7 +52,7 @@ static long long current_time; static long long start; -static char *log_strings[5] = { +static const char * const log_strings[5] = { "User : ", "Error: ", "Warn : ", /* want a space after each colon, all same width, colons aligned */