---
src/inspect-fs-windows.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c
index ba72727..5adf145 100644
--- a/src/inspect-fs-windows.c
+++ b/src/inspect-fs-windows.c
@@ -389,7 +389,7 @@ check_windows_system_registry (guestfs_h *g, struct inspect_fs *fs)
int r;
size_t len = strlen (fs->windows_systemroot) + 64;
char system[len];
- char gpt_prefix[] = "DMIO:ID:";
+ const char gpt_prefix[] = "DMIO:ID:";
snprintf (system, len, "%s/system32/config/system",
fs->windows_systemroot);
--
2.5.0