X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fcheckfiemap.c;h=925c4b2e1b5418a6ed92958be7c81206bdf7b893;hb=bc49f2b84d4403583b485ab9736cf6a9464977d4;hp=cfb644591132bfe5eb2e011370df646fd2cfb9e4;hpb=1f1d3a376d488d715dd1b0c94d5b66ea05c1e6ca;p=fs%2Flustre-release.git diff --git a/lustre/tests/checkfiemap.c b/lustre/tests/checkfiemap.c index cfb6445..925c4b2 100644 --- 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;