From 2b7cdab42529bc4ed4c36a3659504e50f0ef700c Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 19 Jan 2015 13:44:49 +0100 Subject: btrfs-progs: make getopt tables static const Signed-off-by: David Sterba --- btrfs-corrupt-block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'btrfs-corrupt-block.c') diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c index 91ff220a..64f515ec 100644 --- a/btrfs-corrupt-block.c +++ b/btrfs-corrupt-block.c @@ -1019,7 +1019,7 @@ int main(int ac, char **av) while(1) { int c; int option_index = 0; - static struct option long_options[] = { + static const struct option long_options[] = { /* { "byte-count", 1, NULL, 'b' }, */ { "logical", 1, NULL, 'l' }, { "copy", 1, NULL, 'c' }, -- cgit v1.2.3