aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-13 15:41:43 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-13 15:41:43 +0000
commitb32bb95264035c571f81fbefb06fec217b0cc3c8 (patch)
treeaec5a83e5c25cdbabc4ffd7c4413c0501a04656c /qemu-io.c
parentbe45f06826e4bf232625b9d78b72df0c8d0a4b79 (diff)
qemu-io: add 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-io.c')
-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' },