summaryrefslogtreecommitdiff
path: root/gdb/proc-why.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-why.c')
-rw-r--r--gdb/proc-why.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/proc-why.c b/gdb/proc-why.c
index def84723ccf..9c606357b95 100644
--- a/gdb/proc-why.c
+++ b/gdb/proc-why.c
@@ -38,8 +38,8 @@
struct trans
{
int value; /* The numeric value. */
- char *name; /* The equivalent symbolic value. */
- char *desc; /* Short description of value. */
+ const char *name; /* The equivalent symbolic value. */
+ const char *desc; /* Short description of value. */
};
/* Translate values in the pr_why field of a `struct prstatus' or