tools/xenmon: xenbaked: Mark const the field text in stat_map_t
authorJulien Grall <jgrall@amazon.com>
Tue, 18 May 2021 13:51:48 +0000 (14:51 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 18 May 2021 13:54:05 +0000 (14:54 +0100)
commit01d84420fb4a9be2ec474a7c1910bb22c28b53c8
treef2574f4f94c20ba1f8176c8e709b391cddc9c1ad
parent4b7702727a8d89fea0a239adcbeb18aa2c85ede0
tools/xenmon: xenbaked: Mark const the field text in stat_map_t

The field text in stat_map_t will point to string literals. So mark it
as const to allow the compiler to catch any modified of the string.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/xenmon/xenbaked.c