Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6210 tests: Change positional struct initializers to C99
[fs/lustre-release.git]
/
lustre
/
tests
/
checkfiemap.c
diff --git
a/lustre/tests/checkfiemap.c
b/lustre/tests/checkfiemap.c
index
cfb6445
..
925c4b2
100644
(file)
--- a/
lustre/tests/checkfiemap.c
+++ b/
lustre/tests/checkfiemap.c
@@
-103,8
+103,8
@@
int main(int argc, char **argv)
{
int c;
struct option long_opts[] = {
- {
"test", no_argument, 0, 't'
},
- {
NULL, 0, NULL, 0
}
+ {
.name = "test", .has_arg = no_argument, .val = 't'
},
+ {
.name = NULL
}
};
int fd;
int rc;