summaryrefslogtreecommitdiff
path: root/src/target/target_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r--src/target/target_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h
index 7a8ac9c4..bfa7f937 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -42,7 +42,7 @@ struct target_type
* Name of this type of target. Do @b not access this
* field directly, use target_type_name() instead.
*/
- char *name;
+ const char *name;
/* poll current target status */
int (*poll)(struct target *target);