diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-19 13:44:49 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-01-19 13:44:49 +0100 |
commit | 2b7cdab42529bc4ed4c36a3659504e50f0ef700c (patch) | |
tree | 6c87c39708753b1f5bfb645fa5eed1c6f04b56b3 /mkfs.c | |
parent | ecbf1339a63e99a8ef7d5ddc334e38a39f291d3d (diff) |
btrfs-progs: make getopt tables static const
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'mkfs.c')
-rw-r--r-- | mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1264,7 +1264,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[] = { { "alloc-start", 1, NULL, 'A'}, { "byte-count", 1, NULL, 'b' }, { "force", 0, NULL, 'f' }, |