qemu-io: add 'const'
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Dec 2009 15:41:43 +0000 (15:41 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Dec 2009 15:41:43 +0000 (15:41 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-io.c

index 3f7f222..25c282e 100644 (file)
--- 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' },