summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--qemu-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-io.c b/qemu-io.c
index 3f7f222a6b..25c282ec09 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -1415,7 +1415,7 @@ int main(int argc, char **argv)
 	int readonly = 0;
 	int growable = 0;
 	const char *sopt = "hVc:Crsnmgk";
-	struct option lopt[] = {
+        const struct option lopt[] = {
 		{ "help", 0, NULL, 'h' },
 		{ "version", 0, NULL, 'V' },
 		{ "offset", 1, NULL, 'o' },