From 48a4df6a411951257bb0fe1f1eb592e0e40d424a Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 13 Dec 2009 15:41:43 +0000 Subject: [PATCH] qemu-io: add 'const' Signed-off-by: Blue Swirl --- qemu-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-io.c b/qemu-io.c index 3f7f222..25c282e 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' }, -- 2.7.4